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
4814ffb6
Commit
4814ffb6
authored
Jul 27, 2020
by
peterhegman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update QA selector for close token icon
parent
50dbb5ad
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
qa/qa/ee/page/group/settings/general.rb
qa/qa/ee/page/group/settings/general.rb
+1
-1
No files found.
qa/qa/ee/page/group/settings/general.rb
View file @
4814ffb6
...
@@ -66,7 +66,7 @@ module QA
...
@@ -66,7 +66,7 @@ module QA
# GitLab UI Token Selector (https://gitlab-org.gitlab.io/gitlab-ui/?path=/story/base-token-selector--default)
# GitLab UI Token Selector (https://gitlab-org.gitlab.io/gitlab-ui/?path=/story/base-token-selector--default)
# `data-qa-*` can only be added to the wrapper so custom selector used to find token close buttons and text input
# `data-qa-*` can only be added to the wrapper so custom selector used to find token close buttons and text input
find_element
(
:ip_restriction_field
).
all
(
'
.gl-token-close
'
,
minimum:
0
).
each
do
|
el
|
find_element
(
:ip_restriction_field
).
all
(
'
[data-testid="close-icon"]
'
,
minimum:
0
).
each
do
|
el
|
el
.
click
el
.
click
end
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