| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
This will be default in Ruby 3, so will be good to apply in QA ahead of
time to be consistent.
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
First attempt at allowing a feature flag to be set via the command line
when running tests. This will enable the flag, run the tests, and then
disable the flag.
Using OptionParser meant changing how scenarios get the instance
address, so this also allows the address to be set as a command line
option. It's backwards compatible (you can still provide the address
as the command line option after the scenario)
|
|
|
|
| |
Removed quarantine tag from the squash merges test;
|
|
|
|
|
| |
This checks that the server is responding before any other actions,
including before trying to add a license.
|
|
|
|
|
| |
Adds the test itself and the vendor page object model for GitHub
login pages.
|
|
|
|
| |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
| |
|
|
|
|
| |
Signed-off-by: ddavison <ddavison@gitlab.com>
|
|
|
|
| |
Extract remote_grid_credentials
|
|
|
|
| |
Signed-off-by: ddavison <ddavison@gitlab.com>
|
|
|
|
| |
Signed-off-by: ddavison <ddavison@gitlab.com>
|
|
|
|
|
|
| |
If CHROME_REUSE_PROFILE is enabled, QA will use the same profile
everytime, which will be useful for local QA runs as the browser can
then cache assets, etc.
|
| |
|
| |
|
|
|
|
|
| |
This will help with https://gitlab.com/gitlab-org/gitlab-qa/issues/349
as we need to use much shorter project and group names for HTTPS to work
|
| |
|
|\
| |
| |
| |
| | |
Add e2e test of push over SSH using Git protocol v2
See merge request gitlab-org/gitlab-ce!22548
|
| |
| |
| |
| |
| |
| |
| |
| | |
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?
|
|/
|
|
|
| |
* Factory::Base -> Resource::Base, and therefore:
* Factory::Resource::Project -> Resource::Project
|
|\
| |
| |
| |
| | |
Re-enable debug logging of Git commands and output
See merge request gitlab-org/gitlab-ce!22608
|
| | |
|
|/ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
Use ACCEPT_INSECURE_CERTS env var and fix step
Simplify saml signin
Fix rubo cop offence
Add missing # frozen_string_literal: true
|
|\
| |
| |
| |
| | |
Add test of adding file templates via Web IDE and Files view
See merge request gitlab-org/gitlab-ce!21914
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
|/
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
always creating a new user
Fixes https://gitlab.com/gitlab-org/quality/staging/issues/2.
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
| |
class as well
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|
|
|
| |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|
|
|
| |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
| |
|
|
|
|
| |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|
|
|
| |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|\
| |
| |
| |
| | |
Auto DevOps QA: Prefer gcloud credentials from env
See merge request gitlab-org/gitlab-ce!20338
|
| | |
|
|/
|
|
| |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|
|
|
|
|
| |
Because otherwise capybara-screenshot/rspec can't
take the screenshots for us. If we got an error,
we don't want to continue anyway?
|
|\
| |
| |
| |
| | |
Qa 112 fix auto devops cluster spec
See merge request gitlab-org/gitlab-ce!19584
|
| | |
|
|/
|
|
| |
Signed-off-by: Rémy Coutable <remy@rymai.me>
|
|
|
|
| |
We could revisit which we don't want to run in qa.
|
| |
|
|
|
|
|
| |
we're not really supporting them out of the box. See:
https://gitlab.com/gitlab-org/gitlab-ce/issues/44363
|
| |
|
| |
|