RSpec metadata for end-to-end tests

This is a partial list of the RSpec metadata (a.k.a. tags) that are used in our end-to-end tests.

TagDescription
:elasticsearchThe test requires an Elasticsearch service. It is used by the instance-level scenario Test::Integration::Elasticsearch to include only tests that require Elasticsearch.
:exceptThe test is to be run in their typical execution contexts except as specified. See test execution context selection for more information.
:feature_flagThe test uses a feature flag and therefore requires an administrator account to run. When scope is set to :global, the test will be skipped on all live .com environments. Otherwise, it will be skipped only on Canary, Production, and Preprod. See testing with feature flags for more details.
:geoThe test requires two GitLab Geo instances - a primary and a secondary - to be spun up.
:gitaly_clusterThe test runs against a GitLab instance where repositories are stored on redundant Gitaly nodes behind a Praefect node. All nodes are separate containers. Tests that use this tag have a longer setup time since there are three additional containers that need to be started.
:githubThe test requires a GitHub personal access token.
:group_samlThe test requires a GitLab instance that has SAML SSO enabled at the group level. Interacts with an external SAML identity provider. Paired with the :orchestrated tag.
:instance_samlThe test requires a GitLab instance that has SAML SSO enabled at the instance level. Interacts with an external SAML identity provider. Paired with the :orchestrated tag.
:integrationsThis aims to test the available integrations. The test requires Docker to be installed in the run context. It will provision the containers and can be run against a local instance or using the gitlab-qa scenario Test::Integration::Integrations
:issue, :issue_${num} Optional links to issues which might be related to the spec. Helps keep track of related issues and can also be used by tools that create test reports. Currently added automatically to Allure test report. Multiple tags can be used by adding an optional numeric suffix like issue_1, issue_2 etc.
:service_ping_disabledThe test interacts with the GitLab configuration service ping at the instance level to turn Admin Area setting service ping checkbox on or off. This tag will have the test run only in the service_ping_disabled job and must be paired with the :orchestrated and :requires_admin tags.
:jiraThe test requires a Jira Server. GitLab-QA provisions the Jira Server in a Docker container when the Test::Integration::Jira test scenario is run.
:kubernetesThe test includes a GitLab instance that is configured to be run behind an SSH tunnel, allowing a TLS-accessible GitLab. This test also includes provisioning of at least one Kubernetes cluster to test against. This tag is often be paired with :orchestrated.
:ldap_no_serverThe test requires a GitLab instance to be configured to use LDAP. To be used with the :orchestrated tag. It does not spin up an LDAP server at orchestration time. Instead, it creates the LDAP server at runtime.
:ldap_no_tlsThe test requires a GitLab instance to be configured to use an external LDAP server with TLS not enabled.
:ldap_tlsThe test requires a GitLab instance to be configured to use an external LDAP server with TLS enabled.
:mattermostThe test requires a GitLab Mattermost service on the GitLab instance.
:metricsThe test requires a GitLab instance where dedicated metrics exporters are running alongside Puma and Sidekiq.
:mixed_envThe test should only be executed in environments that have a paired canary version available through traffic routing based on the existence of the gitlab_canary=true cookie. Tests in this category are switching the cookie mid-test to validate mixed deployment environments.
:object_storageThe test requires a GitLab instance to be configured to use multiple object storage types. Uses MinIO as the object storage server.
:onlyThe test is only to be run in specific execution contexts. See test execution context selection for more information.
:orchestratedThe GitLab instance under test may be configured by gitlab-qa to be different to the default GitLab configuration, or gitlab-qa may launch additional services in separate Docker containers, or both. Tests tagged with :orchestrated are excluded when testing environments where we can’t dynamically modify the GitLab configuration (for example, Staging).
:packagesThe test requires a GitLab instance that has the Package Registry enabled.
:product_groupSpecifies what product group the test belongs to. See Product sections, stages, groups, and categories for the comprehensive groups list.
:quarantineThe test has been quarantined, runs in a separate job that only includes quarantined tests, and is allowed to fail. The test is skipped in its regular job so that if it fails it doesn’t hold up the pipeline. Note that you can also quarantine a test only when it runs in a specific context.
:relative_urlThe test requires a GitLab instance to be installed under a relative URL.
:reliableThe test has been promoted to a reliable test meaning it passes consistently in all pipelines, including merge requests.
:repository_storageThe test requires a GitLab instance to be configured to use multiple repository storage paths. Paired with the :orchestrated tag.
:requires_adminThe test requires an administrator account. Tests with the tag are excluded when run against Canary and Production environments.
:requires_git_protocol_v2The test requires that Git protocol version 2 is enabled on the server. It’s assumed to be enabled by default but if not the test can be skipped by setting QA_CAN_TEST_GIT_PROTOCOL_V2 to false.
:requires_praefectThe test requires that the GitLab instance uses Gitaly Cluster (a.k.a. Praefect) as the repository storage . It’s assumed to be used by default but if not the test can be skipped by setting QA_CAN_TEST_PRAEFECT to false.
:runnerThe test depends on and sets up a GitLab Runner instance, typically to run a pipeline.
:sanity_feature_flagsThe test verifies the functioning of the feature flag handling part of the test framework
:skip_live_envThe test is excluded when run against live deployed environments such as Staging, Canary, and Production.
:skip_fips_envThe test is excluded when run against an environment in FIPS mode.
:skip_signup_disabledThe test uses UI to sign up a new user and is skipped in any environment that does not allow new user registration via the UI.
:smokeThe test belongs to the test suite which verifies basic functionality of a GitLab instance.
:smtpThe test requires a GitLab instance to be configured to use an SMTP server. Tests SMTP notification email delivery from GitLab by using MailHog.
:testcaseThe link to the test case issue in the GitLab Project Test Cases.
:transientThe test tests transient bugs. It is excluded by default.