Commit f5b45c1d authored by Sanad Liaquat's avatar Sanad Liaquat

Merge branch 'qa-shl-login-oauth-spec-fix' into 'master'

Ensure that the OTP is renewed before retrying

Closes #36333

See merge request gitlab-org/gitlab!20275
parents 00b50234 3e7df51e
...@@ -12,7 +12,7 @@ module QA ...@@ -12,7 +12,7 @@ module QA
fill_in 'password', with: QA::Runtime::Env.github_password fill_in 'password', with: QA::Runtime::Env.github_password
click_on 'Sign in' click_on 'Sign in'
Support::Retrier.retry_until(exit_on_failure: true) do Support::Retrier.retry_until(exit_on_failure: true, sleep_interval: 35) do
otp = OnePassword::CLI.new.otp otp = OnePassword::CLI.new.otp
fill_in 'otp', with: otp fill_in 'otp', with: otp
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment