Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
4ecc342b
Commit
4ecc342b
authored
Nov 08, 2019
by
Sanad Liaquat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Retry on OTP failure
parent
416574a2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
qa/qa/vendor/github/page/login.rb
qa/qa/vendor/github/page/login.rb
+7
-3
No files found.
qa/qa/vendor/github/page/login.rb
View file @
4ecc342b
...
...
@@ -12,11 +12,15 @@ module QA
fill_in
'password'
,
with:
QA
::
Runtime
::
Env
.
github_password
click_on
'Sign in'
otp
=
OnePassword
::
CLI
.
new
.
otp
Support
::
Retrier
.
retry_until
(
exit_on_failure:
true
)
do
otp
=
OnePassword
::
CLI
.
new
.
otp
fill_in
'otp'
,
with:
otp
fill_in
'otp'
,
with:
otp
click_on
'Verify'
click_on
'Verify'
!
has_text?
(
'Two-factor authentication failed'
,
wait:
1.0
)
end
click_on
'Authorize gitlab-qa'
if
has_button?
(
'Authorize gitlab-qa'
)
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment