summaryrefslogtreecommitdiff
path: root/qa/spec/runtime/env_spec.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-04-061-0/+14
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2020-03-241-0/+6
|
* Add latest changes from gitlab-org/gitlab@masterGitLab Bot2019-12-201-0/+14
|
* Reduce the CE/EE diff under qa/qa-reduce-ce-ee-diff-in-qa-folderRémy Coutable2019-08-141-0/+24
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* Test push limit with admin userMark Lapierre2019-06-181-0/+6
| | | | | | | | | | | Uses `:requires_admin` metadata to specify that a test needs an admin user. Sets the push file size limit test to require an admin user. With an admin access token set as the env var GITLAB_QA_ADMIN_ACCESS_TOKEN, the push size limit test now only uses the API and CLI
* Generate knapsack report for review-qa-allMark Lapierre2019-06-031-0/+24
| | | | | | | | | | | | | | | | | | | | | | Add knapsack qa report and use it to run tests in parallel Use the RSpec runner with knapsack The way the Knapsack runner uses exec to start rspec seems incompatible with the way we expect it to work. Plus, it requires specifying KNAPSACK_TEST_DIR. Instead, we use knapsacks AllocatorBuilder to select the spec files to run, and then start rspec as normal, via RSpec::Core::Runner.run This also means we can incorporate tags. Let the job run automatically Include KNAPSACK_TEST_FILE_PATTERN in vars Check all defined knapsack env vars before requiring knapsack
* Allow token env var from gitlab-qaMark Lapierre2019-03-281-3/+3
| | | | | | | gitlab-qa accepts an env var named GITLAB_QA_ACCESS_TOKEN, but here we only accepted PERSONAL_ACCESS_TOKEN. This change replaces PERSONAL_ACCESS_TOKEN with GITLAB_QA_ACCESS_TOKEN
* [CE] Improve `wait_for_push`Mark Lapierre2019-02-111-1/+1
|
* Add specs to remote grid. Raise errors for #remote_grid_credentialsddavison2019-01-091-0/+59
| | | | Signed-off-by: ddavison <ddavison@gitlab.com>
* Add e2e test of push over SSH over Git protocol v2ml-qa-git-protocol-v2-specMark Lapierre2018-11-071-11/+36
| | | | | | | | 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?
* Log page actionsml-qa-loggingMark Lapierre2018-10-191-4/+20
| | | | | | | | | | | | | | | 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-171-0/+51
|
* Allow the registration e2e test to be skippedMark Lapierre2018-10-081-16/+24
| | | | | | | 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-101-21/+0
| | | | | | | | 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.
* Allow to pass --tag to bin/qa runRémy Coutable2018-08-281-0/+4
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* [QA] Improve the fork scenario to take a username and password instead of ↵qa-staging-2Rémy Coutable2018-08-201-0/+25
| | | | | | | | always creating a new user Fixes https://gitlab.com/gitlab-org/quality/staging/issues/2. Signed-off-by: Rémy Coutable <remy@rymai.me>
* [QA] Add a new scenario to test GitHub importRémy Coutable2018-07-061-0/+23
| | | | Signed-off-by: Rémy Coutable <remy@rymai.me>
* GitLab QA: Add GITLAB_USER_TYPE to support different login types (e.g. ↵sh-add-login-types-qaStan Hu2018-02-111-0/+21
| | | | | | | 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.
* Add ability to drive the API in QA specsBrett Walker2018-01-231-7/+1
|
* Resolve "Allow QA tests to run with `CHROME_HEADLESS=false`"Brett Walker2018-01-081-0/+64