Skip to content

Allow user-agent to be set in QA tests

Mark Lapierre requested to merge ml-set-user-agent into master

What does this MR do?

Allows the browser user-agent to be set in QA tests, via the GITLAB_QA_USER_AGENT environment variable. The default Chrome user-agent will be used if the environment variable is not set.

Closes https://gitlab.com/gitlab-org/gitlab-qa/-/issues/611 See also: https://gitlab.com/gitlab-com/gl-infra/infrastructure/-/issues/11938

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team

Merge request reports

Loading