summaryrefslogtreecommitdiff
path: root/qa/qa/runtime
Commit message (Collapse)AuthorAgeFilesLines
* Add e2e test of push over SSH over Git protocol v2ml-qa-git-protocol-v2-specMark Lapierre2018-11-071-0/+19
| | | | | | | | Adds a new end-to-end test to check that Git protocol v2 can be used to push over SSH. Includes a change in Git::Repository to use Runtime::Env.debug? to enable logging instead of .verbose?
* Merge branch 'ml-qa-repo-logging' into 'master'Robert Speicher2018-10-251-1/+3
|\ | | | | | | | | Re-enable debug logging of Git commands and output See merge request gitlab-org/gitlab-ce!22608
| * Re-enable debug logging of Git commands and outputml-qa-repo-loggingMark Lapierre2018-10-251-1/+3
| |
* | Always use `attribute` to define the productLin Jen-Shin2018-10-251-1/+1
|/
* Log page actionsml-qa-loggingMark Lapierre2018-10-192-2/+31
| | | | | | | | | | | | | | | Override page object methods to log the actions taken by the methods before or after the action, as appropriate. Allow page object action logging to be turned on via a QA_DEBUG env var. Unlike CHROME_HEADLESS (and the soon to arrive VERBOSE), QA_DEBUG is false by default. QA_DEBUG is used instead of just DEBUG because that enables Selenium debug logging. Mask passwords entered into fields with a QA selector with 'password' in the name. Doesn't mask sensitive data entered into any other field.
* First iteration to allow creating QA resources using the APIRémy Coutable2018-10-172-16/+23
|
* Initial commitSanad Liaquat2018-10-112-0/+8
| | | | | | | | | | Use ACCEPT_INSECURE_CERTS env var and fix step Simplify saml signin Fix rubo cop offence Add missing # frozen_string_literal: true
* Merge branch 'ml-qa-add-file-templates' into 'master'Sean McGivern2018-10-102-0/+32
|\ | | | | | | | | Add test of adding file templates via Web IDE and Files view See merge request gitlab-org/gitlab-ce!21914
| * Add tests of adding file templatesMark Lapierre2018-10-092-0/+32
| | | | | | | | | | | | | | | | | | | | | | | | Adds tests that adds new files via file templates via the Files view and the Web IDE. Includes changes to page objects and associated code Fetches template content from the API rather than hardcoding strings that will need to be updated if the templates change. Some of the content is stored as flat files but we can't use them because they're not included in the docker images gitlab-qa uses.
* | Allow the registration e2e test to be skippedMark Lapierre2018-10-081-1/+13
|/ | | | | | | If SIGNUP_DISABLED is true skip any tests with a context :skip_signup_disabled. The context is set for the registration tests. This allows the tests to be skipped when run on the staging, which doesn't allow registration
* Enable signing in as admin when adding a licenseMark Lapierre2018-09-102-17/+23
| | | | | | | | Adds the ability to use admin credentials to add a license so that when testing an LDAP user on EE the LDAP user does not have to be an admin. Admin credentials default to GDK's root user. Can be overriden via ADMIN_USERNAME and ADMIN_PASSWORD environment variables.
* [QA] Improve the fork scenario to take a username and password instead of ↵qa-staging-2Rémy Coutable2018-08-202-3/+15
| | | | | | | | always creating a new user Fixes https://gitlab.com/gitlab-org/quality/staging/issues/2. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Reset local storage between qa testsDJ Mountney2018-07-251-0/+1
| | | | | | | | | | | | This is not done by default as it is said to incur a performance hit, paired with local storage not always being used by the site being tested. (https://github.com/teamcapybara/capybara/issues/1702#issuecomment-219483444) GitLab uses localStorage, for things like remembering which tab you used last (on the login page for example, between sign-in, ldap, and register) Fixes: https://gitlab.com/gitlab-org/gitlab-qa/issues/303
* Disambiguate 'File' under qa/ since we have a QA::Factory::Resource::File ↵Rémy Coutable2018-07-184-6/+6
| | | | | | class as well Signed-off-by: Rémy Coutable <remy@rymai.me>
* [QA] Fix duplicate year in namespace nameqa-fix-timestampRémy Coutable2018-07-121-1/+1
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* [QA] Ensure screenshots are save in subfolder per QA runRémy Coutable2018-07-112-1/+5
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Updates from `rubocop -a`Lin Jen-Shin2018-07-091-1/+1
|
* [QA] Add a new scenario to test GitHub importRémy Coutable2018-07-062-1/+12
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Ensure QA specs are categorized as feature specs by RSpecRémy Coutable2018-07-051-0/+6
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Merge branch 'qa-112-prefer-env-credentials-for-gcloud' into 'master'Grzegorz Bizon2018-07-041-0/+4
|\ | | | | | | | | Auto DevOps QA: Prefer gcloud credentials from env See merge request gitlab-org/gitlab-ce!20338
| * Auto DevOps QA: Prefer gcloud credentials from envDylan Griffith2018-07-031-0/+4
| |
* | [QA] Fix qa/qa/specs/features/login/ldap_spec.rb48159-qa-specs-features-login-ldap_spec-rb-is-failing-after-https-gitlab-com-gitlab-org-gitlab-ce-merge_requests-19964Rémy Coutable2018-06-201-1/+5
|/ | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Only clear the sessions if block_given? and no errorLin Jen-Shin2018-06-131-13/+1
| | | | | | Because otherwise capybara-screenshot/rspec can't take the screenshots for us. If we got an error, we don't want to continue anyway?
* Merge branch 'qa-112-fix-auto-devops-cluster-spec' into 'master'Grzegorz Bizon | off until 20th June2018-06-121-0/+12
|\ | | | | | | | | Qa 112 fix auto devops cluster spec See merge request gitlab-org/gitlab-ce!19584
| * Move ENV variables to Runtime::Env for auto devops QAqa-112-fix-auto-devops-cluster-specDylan Griffith2018-06-111-0/+12
| |
* | Improve the Runtime::API classesRémy Coutable2018-06-063-82/+82
|/ | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Fix rubocop offense and enable jobs for qaLin Jen-Shin2018-04-272-0/+2
| | | | We could revisit which we don't want to run in qa.
* Use Service::Shellout.shell to spawn a commandLin Jen-Shin2018-03-291-6/+1
|
* Remove test against DSA ssh keys becauseLin Jen-Shin2018-03-291-11/+0
| | | | | we're not really supporting them out of the box. See: https://gitlab.com/gitlab-org/gitlab-ce/issues/44363
* Run through all kinds of ssh keys for deploy keyLin Jen-Shin2018-03-291-1/+4
|
* Implement other ssh keys and use ssh-keygen insteadLin Jen-Shin2018-03-295-14/+73
|
* Introduce Key namespace so we could put more keysLin Jen-Shin2018-03-292-21/+23
|
* Add LDAP_USERNAME and LDAP_PASSWORD user environment variables for QAsh-add-env-variables-for-ldap-qaStan Hu2018-02-142-0/+16
|
* Add Runtime::User.default_nameRobert Speicher2018-02-141-1/+5
|
* Merge remote-tracking branch 'upstream/master' into qa-clone-with-deploy-keyLin Jen-Shin2018-02-133-3/+29
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (69 commits) Change issue show page to group MRs by projects and namespaces Merge branch 'master-i18n' into 'master' Update sidekiq_style_guide.md Document all_queues.yml in sidekiq_style_guide.md Fix artifact creation Fix Error 500s creating merge requests with external issue tracker Addressed mr observations Clean new Flash() and stop disabling no-new (eslint) when possible Disable query limiting warnings for now on GitLab.com Dry up spec Add changelog entry Schedule PopulateUntrackedUploads if needed Fix orphan temp table untracked_files_for_uploads Fix last batch size equals max batch size error Revert "Merge branch 'rd-40552-gitlab-should-check-if-keys-are-valid-before-saving' into 'master'" Fix warning messages for promoting labels and milestones Fixed missing js selector for the realtime pipelines commit comp Reuse getter Add loading button for better UX Honour workhorse provided file name Fix a transient failure in db/post_migrate/20170717111152_cleanup_move_system_upload_folder_symlink.rb where symlink already exists ...
| * GitLab QA: Add GITLAB_USER_TYPE to support different login types (e.g. ↵sh-add-login-types-qaStan Hu2018-02-112-0/+14
| | | | | | | | | | | | | | standard, LDAP) GITLAB_USERNAME and GITLAB_PASSWORD may be specified for an LDAP login, but QA scenarios may need to know which type it is in order to log in successfully.
| * Move all ENV to Runtime::EnvLin Jen-Shin2018-02-093-3/+15
| |
| * Allow using a different sandbox group for QALin Jen-Shin2018-02-081-1/+1
| |
* | Merge remote-tracking branch 'upstream/master' into qa-clone-with-deploy-keyLin Jen-Shin2018-02-091-1/+1
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (466 commits) Set initial password for instance in LDAP QA test Backport EE changes to some hashed storage documentation to CE Remove allow_n_plus_1 from Git::Repository#branches_filter Bumps Gitlab Shell version to 6.0.3 Make resetting column information overridable in EE Added 'clear' button to ci lint editor Issues and merge requests in subgroups docs Update docs labels CE Refactored merge_requests/show path in dispatcher.js wording don't check against a hardcoded user name 10.5 Update the dependencies license list 10.5 Update the .gitignore, .gitlab-ci.yml, and Dockerfile templates Create update guide for 10.5 Update 10.5 source install guide Add docs for MR link in commit page Add groups to OpenID Connect claims Replaced $.get with axois.get Memoize MergeRequest#rebase_in_progress? to prevent N+1 queries in Gitaly Update style_guide_scss.md ...
| * Ensure we save QA screenshots to an absolute pathqa-absolute-path-to-screenshotsRémy Coutable2018-02-011-1/+1
| | | | | | | | | | | | | | This allows to open the file address printed in the terminal, otherwise the address started with `tmp` which was relatove to the `qa/` dir. Signed-off-by: Rémy Coutable <remy@rymai.me>
* | WIPLin Jen-Shin2018-02-051-1/+1
|/
* Backport QA changes from EEGabriel Mazetto2018-01-261-2/+2
|
* Move initialize method later.Lin Jen-Shin2018-01-241-3/+3
|
* Merge remote-tracking branch 'upstream/master' into qa-deploy-key-scenarioLin Jen-Shin2018-01-244-13/+114
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/master: (106 commits) Remove callback as we already update accordingly on services added missing imports correctly imports performance bar Added imports for dispatcher routes Make the exposing of the Application secret more explicit Add documentation about when the application API was added Add application create API Return a blank JSON response for a missing .js file to prevent Rails CSRF errors add CHANGELOG.md entry for !15804 disable CopyAsGFM on iOS due to bug in webkit Update changelog GitalyClient::ConflictsService#conflicts? should return true for conflicts with missing side Return more consistent values for merge_status on MR API Fix a migration spec messing up the MergeRequestDiff DB schema Backport changes to Gitlab::Checks::ChangeAccess from EE remove webpack bundle tag for monitoring:environments:metrics Set timezone for karma to UTC Upgrade jasmine + raven to newer versions Ensure Gitaly Ruby gems are installed using the correct Gemfile and at the correct location Clarify that a feature that isn't in review by the 1st or 3rd doesn't necessarily miss the freeze ...
| * Add ability to drive the API in QA specsBrett Walker2018-01-234-13/+114
| |
* | Generate ssh key on the fly for QALin Jen-Shin2018-01-222-11/+21
|/
* Use full QA sandbox group path when creating a projectGrzegorz Bizon2018-01-111-0/+4
|
* Resolve "Allow QA tests to run with `CHROME_HEADLESS=false`"Brett Walker2018-01-082-7/+49
|
* Use heredoc for long strings so it's easier to readuse-heredoc-for-keysLin Jen-Shin2018-01-031-7/+7
|
* Use heredoc so it's more clearLin Jen-Shin2018-01-021-6/+8
|