From fb5ba0814ba6105a371382560eaa171565f8569d Mon Sep 17 00:00:00 2001 From: Jay McCure Date: Wed, 3 Sep 2025 11:59:13 +1000 Subject: [PATCH] E2E test: remove mentions of QA_DEBUG env variable --- .../running_tests_that_require_special_setup.md | 6 +++--- doc/development/testing_guide/end_to_end/tips_and_tricks.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/development/testing_guide/end_to_end/running_tests/running_tests_that_require_special_setup.md b/doc/development/testing_guide/end_to_end/running_tests/running_tests_that_require_special_setup.md index 4dcfb39d3656e1..00f7ef95ff8883 100644 --- a/doc/development/testing_guide/end_to_end/running_tests/running_tests_that_require_special_setup.md +++ b/doc/development/testing_guide/end_to_end/running_tests/running_tests_that_require_special_setup.md @@ -322,7 +322,7 @@ To run these tests on your computer against the GDK: 1. Run a group SAML test from [`gitlab/qa`](https://gitlab.com/gitlab-org/gitlab/-/tree/d5447ebb5f99d4c72780681ddf4dc25b0738acba/qa) directory: ```shell - QA_DEBUG=true CHROME_HEADLESS=false bundle exec bin/qa Test::Instance::All http://localhost:3000 qa/specs/features/ee/browser_ui/1_manage/group/group_saml_enforced_sso_spec.rb -- --tag orchestrated + QA_LOG_LEVEL=debug CHROME_HEADLESS=false bundle exec bin/qa Test::Instance::All http://localhost:3000 qa/specs/features/ee/browser_ui/1_manage/group/group_saml_enforced_sso_spec.rb -- --tag orchestrated ``` For instructions on how to run these tests using the `gitlab-qa` gem, refer to [the GitLab QA documentation](https://gitlab.com/gitlab-org/gitlab-qa/-/blob/master/docs/what_tests_can_be_run.md#testintegrationgroupsaml-eefull-image-address). @@ -366,7 +366,7 @@ To run these tests on your computer against the GDK: 1. Run the test from [`gitlab/qa`](https://gitlab.com/gitlab-org/gitlab/-/tree/d5447ebb5f99d4c72780681ddf4dc25b0738acba/qa) directory: ```shell - QA_DEBUG=true CHROME_HEADLESS=false bundle exec bin/qa Test::Instance::All http://localhost:3000 qa/specs/features/browser_ui/1_manage/login/login_via_instance_wide_saml_sso_spec.rb -- --tag orchestrated + QA_LOG_LEVEL=debug CHROME_HEADLESS=false bundle exec bin/qa Test::Instance::All http://localhost:3000 qa/specs/features/browser_ui/1_manage/login/login_via_instance_wide_saml_sso_spec.rb -- --tag orchestrated ``` For instructions on how to run these tests using the `gitlab-qa` gem, refer to [the GitLab QA documentation](https://gitlab.com/gitlab-org/gitlab-qa/-/blob/master/docs/what_tests_can_be_run.md#testintegrationinstancesaml-ceeefull-image-address). @@ -560,7 +560,7 @@ To run the [`login_via_oauth_and_oidc_with_gitlab_as_idp_spec`](https://gitlab.c ```shell bundle install - RELEASE_REGISTRY_URL='registry.gitlab.com' RELEASE_REGISTRY_USERNAME='' RELEASE_REGISTRY_PASSWORD='' RELEASE='registry.gitlab.com/gitlab-org/build/omnibus-gitlab-mirror/gitlab-ee:c0ae46db6b31ea231b2de88961cd687acf634179' GITLAB_QA_ADMIN_ACCESS_TOKEN="" QA_DEBUG=true CHROME_HEADLESS=false bundle exec bin/qa Test::Instance::All http://gdk.test:3000 qa/specs/features/browser_ui/1_manage/login/login_via_oauth_and_oidc_with_gitlab_as_idp_spec.rb + RELEASE_REGISTRY_URL='registry.gitlab.com' RELEASE_REGISTRY_USERNAME='' RELEASE_REGISTRY_PASSWORD='' RELEASE='registry.gitlab.com/gitlab-org/build/omnibus-gitlab-mirror/gitlab-ee:c0ae46db6b31ea231b2de88961cd687acf634179' GITLAB_QA_ADMIN_ACCESS_TOKEN="" QA_LOG_LEVEL=debug CHROME_HEADLESS=false bundle exec bin/qa Test::Instance::All http://gdk.test:3000 qa/specs/features/browser_ui/1_manage/login/login_via_oauth_and_oidc_with_gitlab_as_idp_spec.rb ``` ## Product Analytics tests diff --git a/doc/development/testing_guide/end_to_end/tips_and_tricks.md b/doc/development/testing_guide/end_to_end/tips_and_tricks.md index eb9963500382f3..0e36b8c6ed3266 100644 --- a/doc/development/testing_guide/end_to_end/tips_and_tricks.md +++ b/doc/development/testing_guide/end_to_end/tips_and_tricks.md @@ -87,7 +87,7 @@ After you install the extension you can use VS Code to debug end-to-end specs ru "program": "${workspaceRoot}/qa/bin/qa", "env": { "CHROME_HEADLESS": "false", - "QA_DEBUG": "true" + "QA_LOG_LEVEL": "debug" }, "args": [ "Test::Instance::All", @@ -113,7 +113,7 @@ You can include multiple configurations, and any environment variables or comman "program": "${workspaceRoot}/qa/bin/qa", "env": { "CHROME_HEADLESS": "false", - "QA_DEBUG": "true", + "QA_LOG_LEVEL": "debug", "GITLAB_USERNAME": "gitlab-qa", "GITLAB_PASSWORD": "from 1Password", "GITLAB_QA_ACCESS_TOKEN": "from 1Password" -- GitLab