Skip to content

Switch to PATs disabled env variable

Nailia Iskhakova (OOO) requested to merge qe-use-disabled-pat-mode-name into master

What does this MR do and why?

After Update FedRamp PAT creation to be an Applicatio... (#384201 - closed) was updated, specs should follow the application logic and switch to using UI not when FIPS=1.

This helps to unblock FIPS QA pipelines from failures: omnibus-gitlab#7346 (comment 1201651127)

How to set up and validate locally

  1. Run test as usual - ensure that it uses PATs

    WEBDRIVER_HEADLESS=false bundle exec bin/qa Test::Instance::All http://gdk.test:3000/ -- qa/specs/features/browser_ui/2_plan/issue/create_issue_spec.rb:26
  2. Run test in PATS disabled mode - take a note that only UI methods are used in spec

    PERSONAL_ACCESS_TOKENS_DISABLED=true WEBDRIVER_HEADLESS=false bundle exec bin/qa Test::Instance::All http://gdk.test:3000/ -- qa/specs/features/browser_ui/2_plan/issue/create_issue_spec.rb:26

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading