Commit Graph

39 Commits

Author SHA1 Message Date
GitLab Bot 43d816ebc2 Add latest changes from gitlab-org/gitlab@master 2023-05-12 06:17:21 +00:00
GitLab Bot cd6194eb43 Add latest changes from gitlab-org/gitlab@master 2023-03-15 00:10:41 +00:00
GitLab Bot f0208efd0b Add latest changes from gitlab-org/gitlab@master 2022-12-05 03:08:47 +00:00
GitLab Bot 0302293341 Add latest changes from gitlab-org/gitlab@master 2022-09-19 21:13:43 +00:00
GitLab Bot f42c4be1c0 Add latest changes from gitlab-org/gitlab@master 2022-06-10 09:11:12 +00:00
GitLab Bot 94aee27731 Add latest changes from gitlab-org/gitlab@master 2022-06-03 00:09:04 +00:00
GitLab Bot e105f6b881 Add latest changes from gitlab-org/gitlab@master 2022-03-11 12:07:56 +00:00
GitLab Bot 513726cb73 Add latest changes from gitlab-org/gitlab@master 2022-01-17 21:15:21 +00:00
GitLab Bot 830c9943a9 Add latest changes from gitlab-org/gitlab@master 2022-01-11 21:14:42 +00:00
GitLab Bot 804b736437 Add latest changes from gitlab-org/gitlab@master 2021-12-28 21:16:11 +00:00
GitLab Bot be320585cb Add latest changes from gitlab-org/gitlab@master 2021-12-14 15:17:06 +00:00
GitLab Bot e7b6cfeafe Add latest changes from gitlab-org/gitlab@master 2021-08-25 15:11:14 +00:00
GitLab Bot 6c36d81714 Add latest changes from gitlab-org/gitlab@master 2021-07-06 00:08:15 +00:00
GitLab Bot ec8587780b Add latest changes from gitlab-org/gitlab@master 2021-06-23 00:07:53 +00:00
GitLab Bot 2db9c1eee2 Add latest changes from gitlab-org/gitlab@master 2021-04-01 06:09:29 +00:00
GitLab Bot b90d8b54a4 Add latest changes from gitlab-org/gitlab@master 2021-03-09 12:08:52 +00:00
GitLab Bot 447a64b1dc Add latest changes from gitlab-org/gitlab@master 2020-10-12 00:08:43 +00:00
GitLab Bot c916c6f79b Add latest changes from gitlab-org/gitlab@master 2020-09-25 03:09:30 +00:00
GitLab Bot d9aac35d79 Add latest changes from gitlab-org/gitlab@master 2020-07-13 18:09:16 +00:00
GitLab Bot 7915c41e42 Add latest changes from gitlab-org/gitlab@master 2020-04-06 21:09:19 +00:00
GitLab Bot 2711c26bea Add latest changes from gitlab-org/gitlab@master 2020-03-24 00:09:24 +00:00
GitLab Bot 898e2cc1df Add latest changes from gitlab-org/gitlab@master 2019-12-20 09:24:38 +00:00
Rémy Coutable d8f9890009
Reduce the CE/EE diff under qa/
Signed-off-by: Rémy Coutable <remy@rymai.me>
2019-08-14 10:22:25 +02:00
Mark Lapierre cfe0043d54 Test push limit with admin user
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
2019-06-18 03:37:05 +00:00
Mark Lapierre 3922c6da84 Generate knapsack report for review-qa-all
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
2019-06-03 10:37:43 +00:00
Mark Lapierre 35c5557685 Allow token env var from gitlab-qa
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
2019-03-28 08:15:14 +00:00
Mark Lapierre 97265d39e7 [CE] Improve `wait_for_push` 2019-02-11 09:04:59 +00:00
ddavison 7f780046c4 Add specs to remote grid. Raise errors for #remote_grid_credentials
Signed-off-by: ddavison <ddavison@gitlab.com>
2019-01-09 12:02:56 +05:00
Mark Lapierre 765ca40d65 Add e2e test of push over SSH over Git protocol v2
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?
2018-11-07 12:16:17 -05:00
Mark Lapierre 45860bc807 Log page actions
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.
2018-10-19 18:32:33 -04:00
Rémy Coutable b6f2f738c7 First iteration to allow creating QA resources using the API 2018-10-17 18:08:20 +00:00
Mark Lapierre 03ee488f93 Allow the registration e2e test to be skipped
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
2018-10-08 15:04:08 -04:00
Mark Lapierre 28e80dbcc5 Enable signing in as admin when adding a license
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.
2018-09-10 18:43:34 -04:00
Rémy Coutable 520fcaab1c
Allow to pass --tag to bin/qa run
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-08-28 16:32:59 +02:00
Rémy Coutable 98ba19b5f2
[QA] Improve the fork scenario to take a username and password instead of always creating a new user
Fixes https://gitlab.com/gitlab-org/quality/staging/issues/2.

Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-08-20 10:52:24 +02:00
Rémy Coutable 2ad990bba0 [QA] Add a new scenario to test GitHub import
Signed-off-by: Rémy Coutable <remy@rymai.me>
2018-07-06 14:22:00 +02:00
Stan Hu dc8cf73207 GitLab QA: Add GITLAB_USER_TYPE to support different login types (e.g. 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.
2018-02-11 05:59:33 -08:00
Brett Walker b8b9e9eb8e Add ability to drive the API in QA specs 2018-01-23 10:23:23 +00:00
Brett Walker 6762d2875e Resolve "Allow QA tests to run with `CHROME_HEADLESS=false`" 2018-01-08 12:44:32 +00:00