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
c1f581bc
Commit
c1f581bc
authored
Apr 04, 2022
by
Paul Gascou-Vaillancourt
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Properly find ArkoseLabs token in QA tests
parent
c6700cb9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
qa/qa/page/main/login.rb
qa/qa/page/main/login.rb
+2
-2
No files found.
qa/qa/page/main/login.rb
View file @
c1f581bc
...
...
@@ -131,7 +131,7 @@ module QA
end
def
has_arkose_labs_token?
has_css?
(
'[name="arkose_labs_token"][value]'
)
has_css?
(
'[name="arkose_labs_token"][value]'
,
visible:
false
)
end
def
switch_to_sign_in_tab
...
...
@@ -181,7 +181,7 @@ module QA
# Wait until the ArkoseLabs challenge has initialized
Support
::
WaitForRequests
.
wait_for_requests
Support
::
Waiter
.
wait_until
(
max_duration:
3
,
reload_page:
false
,
raise_on_failure:
false
)
do
Support
::
Waiter
.
wait_until
(
max_duration:
5
,
reload_page:
false
,
raise_on_failure:
false
)
do
has_arkose_labs_token?
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