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
Léo-Paul Géneau
gitlab-ce
Commits
c9e4c176
Commit
c9e4c176
authored
May 29, 2018
by
Luke Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix project subscription_spec
parent
fad343ca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
spec/features/projects/labels/subscription_spec.rb
spec/features/projects/labels/subscription_spec.rb
+4
-2
No files found.
spec/features/projects/labels/subscription_spec.rb
View file @
c9e4c176
...
...
@@ -36,7 +36,7 @@ feature 'Labels subscription' do
within
"#group_label_
#{
feature
.
id
}
"
do
expect
(
page
).
not_to
have_button
'Unsubscribe'
click_link_on_dropdown
(
'
G
roup level'
)
click_link_on_dropdown
(
'
Subscribe at g
roup level'
)
expect
(
page
).
not_to
have_selector
(
'.dropdown-group-label'
)
expect
(
page
).
to
have_button
'Unsubscribe'
...
...
@@ -45,7 +45,7 @@ feature 'Labels subscription' do
expect
(
page
).
to
have_selector
(
'.dropdown-group-label'
)
click_link_on_dropdown
(
'
P
roject level'
)
click_link_on_dropdown
(
'
Subscribe at p
roject level'
)
expect
(
page
).
not_to
have_selector
(
'.dropdown-group-label'
)
expect
(
page
).
to
have_button
'Unsubscribe'
...
...
@@ -67,6 +67,8 @@ feature 'Labels subscription' do
def
click_link_on_dropdown
(
text
)
find
(
'.dropdown-group-label'
).
click
screenshot_and_open_image
page
.
within
(
'.dropdown-group-label'
)
do
find
(
'a.js-subscribe-button'
,
text:
text
).
click
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