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
b740ed37
Commit
b740ed37
authored
Jun 23, 2020
by
Sanad Liaquat (Personal)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix protected tags e2e test
by limiting role selection in access_levels_content scope
parent
e20bf374
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
3 deletions
+7
-3
app/views/projects/protected_tags/_create_protected_tag.html.haml
...s/projects/protected_tags/_create_protected_tag.html.haml
+1
-1
ee/app/views/projects/protected_tags/ee/_create_protected_tag.html.haml
...rojects/protected_tags/ee/_create_protected_tag.html.haml
+1
-1
qa/qa/ee/page/project/settings/protected_tags.rb
qa/qa/ee/page/project/settings/protected_tags.rb
+1
-0
qa/qa/page/project/settings/protected_tags.rb
qa/qa/page/project/settings/protected_tags.rb
+4
-1
No files found.
app/views/projects/protected_tags/_create_protected_tag.html.haml
View file @
b740ed37
-
content_for
:create_access_levels
do
.create_access_levels-container
.create_access_levels-container
{
data:
{
qa_selector:
'access_levels_content'
}
}
=
dropdown_tag
(
'Select'
,
options:
{
toggle_class:
'js-allowed-to-create wide'
,
dropdown_class:
'dropdown-menu-selectable capitalize-header'
,
...
...
ee/app/views/projects/protected_tags/ee/_create_protected_tag.html.haml
View file @
b740ed37
-
content_for
:create_access_levels
do
.create_access_levels-container
.create_access_levels-container
{
data:
{
qa_selector:
'access_levels_content'
}
}
=
dropdown_tag
(
'Select'
,
options:
{
toggle_class:
'js-allowed-to-create js-multiselect wide'
,
dropdown_class:
'dropdown-menu-user dropdown-menu-selectable capitalize-header'
,
filter:
true
,
...
...
qa/qa/ee/page/project/settings/protected_tags.rb
View file @
b740ed37
...
...
@@ -13,6 +13,7 @@ module QA
base
.
class_eval
do
view
'ee/app/views/projects/protected_tags/ee/_create_protected_tag.html.haml'
do
element
:access_levels_content
element
:access_levels_dropdown
end
end
...
...
qa/qa/page/project/settings/protected_tags.rb
View file @
b740ed37
...
...
@@ -12,6 +12,7 @@ module QA
end
view
'app/views/projects/protected_tags/_create_protected_tag.html.haml'
do
element
:access_levels_content
element
:access_levels_dropdown
end
...
...
@@ -26,7 +27,9 @@ module QA
def
choose_access_level_role
(
role
)
click_element
:access_levels_dropdown
click_on
role
within_element
(
:access_levels_content
)
do
click_on
role
end
end
def
click_protect_tag_button
...
...
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