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
de0977c8
Commit
de0977c8
authored
Jun 25, 2020
by
Desiree Chevalier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Clean up scoped label spec
parent
b27ccc99
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
10 deletions
+6
-10
qa/qa/page/component/issuable/sidebar.rb
qa/qa/page/component/issuable/sidebar.rb
+0
-4
qa/qa/specs/features/ee/browser_ui/2_plan/scoped_labels/editing_scoped_labels_spec.rb
...ser_ui/2_plan/scoped_labels/editing_scoped_labels_spec.rb
+6
-6
No files found.
qa/qa/page/component/issuable/sidebar.rb
View file @
de0977c8
...
@@ -99,10 +99,6 @@ module QA
...
@@ -99,10 +99,6 @@ module QA
refresh
refresh
end
end
def
text_of_labels_block
find_element
(
:labels_block
)
end
def
toggle_more_assignees_link
def
toggle_more_assignees_link
click_element
(
:more_assignees_link
)
click_element
(
:more_assignees_link
)
end
end
...
...
qa/qa/specs/features/ee/browser_ui/2_plan/scoped_labels/editing_scoped_labels_spec.rb
View file @
de0977c8
...
@@ -44,13 +44,13 @@ module QA
...
@@ -44,13 +44,13 @@ module QA
show
.
select_all_activities_filter
show
.
select_all_activities_filter
expect
(
show
.
text_of_labels_block
).
to
have_content
(
new_label_same_scope
.
gsub
(
'::'
,
' '
)
)
expect
(
show
).
to
have_label
(
new_label_same_scope
)
expect
(
show
.
text_of_labels_block
).
to
have_content
(
new_label_different_scope
.
gsub
(
'::'
,
' '
)
)
expect
(
show
).
to
have_label
(
new_label_different_scope
)
expect
(
show
.
text_of_labels_block
).
to
have_content
(
'group::car
porsche'
)
expect
(
show
).
to
have_label
(
'group::car::
porsche'
)
expect
(
show
.
text_of_labels_block
).
to
have_content
(
'group::truck
mercedes-bens'
)
expect
(
show
).
to
have_label
(
'group::truck::
mercedes-bens'
)
expect
(
show
.
text_of_labels_block
).
not_to
have_content
(
initial_label
.
gsub
(
'::'
,
' '
)
)
expect
(
show
).
not_to
have_label
(
initial_label
)
expect
(
show
.
text_of_labels_block
).
not_to
have_content
(
'group::car
ferrari'
)
expect
(
show
).
not_to
have_label
(
'group::car::
ferrari'
)
end
end
end
end
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