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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
36bf0861
Commit
36bf0861
authored
Apr 23, 2018
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix labels hierarchy spec
parent
52440ea9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
spec/features/labels_hierarchy_spec.rb
spec/features/labels_hierarchy_spec.rb
+5
-5
No files found.
spec/features/labels_hierarchy_spec.rb
View file @
36bf0861
...
...
@@ -34,7 +34,7 @@ feature 'Labels Hierarchy', :js, :nested_groups do
wait_for_requests
expect
(
page
).
to
have_selector
(
'span.
label
'
,
text:
label
.
title
)
expect
(
page
).
to
have_selector
(
'span.
badge
'
,
text:
label
.
title
)
end
end
...
...
@@ -45,7 +45,7 @@ feature 'Labels Hierarchy', :js, :nested_groups do
wait_for_requests
expect
(
page
).
not_to
have_selector
(
'span.
label
'
,
text:
child_group_label
.
title
)
expect
(
page
).
not_to
have_selector
(
'span.
badge
'
,
text:
child_group_label
.
title
)
end
end
...
...
@@ -159,9 +159,9 @@ feature 'Labels Hierarchy', :js, :nested_groups do
find
(
'.btn-create'
).
click
expect
(
page
.
find
(
'.issue-details h2.title'
)).
to
have_content
(
'new created issue'
)
expect
(
page
).
to
have_selector
(
'span.
label
'
,
text:
grandparent_group_label
.
title
)
expect
(
page
).
to
have_selector
(
'span.
label
'
,
text:
parent_group_label
.
title
)
expect
(
page
).
to
have_selector
(
'span.
label
'
,
text:
project_label_1
.
title
)
expect
(
page
).
to
have_selector
(
'span.
badge
'
,
text:
grandparent_group_label
.
title
)
expect
(
page
).
to
have_selector
(
'span.
badge
'
,
text:
parent_group_label
.
title
)
expect
(
page
).
to
have_selector
(
'span.
badge
'
,
text:
project_label_1
.
title
)
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