Sha256: 211e7695cc13e08da1bb443b99d94555e39174f0e2e552bf96df541240650b53

Contents?: true

Size: 1.19 KB

Versions: 24

Compression:

Stored size: 1.19 KB

Contents

# Environment Setup | Users

Most tests ([orchestrated and instance-level](../docs/what_tests_can_be_run.md#the-two-types-of-qa-tests)) [run as the default `root` user](https://gitlab.com/gitlab-org/gitlab/-/blob/3f247bf0d6d24b479b7f169f9c14068968d9672a/qa/qa/runtime/user.rb#L16). However, some require additional users. If the test framework has administrator access to the test environment it can create users itself. If administrator access is not available you will need to create users before being able to run certain tests.

## Disable email verification

If [email verification](https://docs.gitlab.com/ee/security/email_verification.html) is enabled on the test environment (via the `require_email_verification` feature flag), a user cannot log in under certain conditions (e.g., logging in the first time from a new location) unless they enter a verification code that is sent to their email address.

To disable email verification you can disable the `require_email_verification` feature flag, which will disable email verification for all users on the instance. Alternatively, you can skip verification for individual users by enabling the `skip_require_email_verification` feature flag for that user.

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
gitlab-qa-14.18.0 docs/environment_setup/users.md
gitlab-qa-14.17.0 docs/environment_setup/users.md
gitlab-qa-14.16.0 docs/environment_setup/users.md
gitlab-qa-14.15.0 docs/environment_setup/users.md
gitlab-qa-14.14.0 docs/environment_setup/users.md
gitlab-qa-14.13.0 docs/environment_setup/users.md
gitlab-qa-14.12.0 docs/environment_setup/users.md
gitlab-qa-14.11.0 docs/environment_setup/users.md
gitlab-qa-14.9.0 docs/environment_setup/users.md
gitlab-qa-14.8.1 docs/environment_setup/users.md
gitlab-qa-14.8.0 docs/environment_setup/users.md
gitlab-qa-14.7.0 docs/environment_setup/users.md
gitlab-qa-14.6.0 docs/environment_setup/users.md
gitlab-qa-14.5.0 docs/environment_setup/users.md
gitlab-qa-14.4.0 docs/environment_setup/users.md
gitlab-qa-14.3.0 docs/environment_setup/users.md
gitlab-qa-14.2.1 docs/environment_setup/users.md
gitlab-qa-14.2.0 docs/environment_setup/users.md
gitlab-qa-14.1.0 docs/environment_setup/users.md
gitlab-qa-14.0.2 docs/environment_setup/users.md