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
dff60db2
Commit
dff60db2
authored
Aug 12, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Look for a button on issues
parent
1852dfa3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
spec/support/features/reportable_note_shared_examples.rb
spec/support/features/reportable_note_shared_examples.rb
+1
-2
No files found.
spec/support/features/reportable_note_shared_examples.rb
View file @
dff60db2
...
@@ -16,13 +16,12 @@ shared_examples 'reportable note' do |type|
...
@@ -16,13 +16,12 @@ shared_examples 'reportable note' do |type|
open_dropdown
(
dropdown
)
open_dropdown
(
dropdown
)
if
type
==
'issue'
if
type
==
'issue'
expect
(
dropdown
).
to
have_button
(
'Edit comment'
)
expect
(
dropdown
).
to
have_button
(
'Delete comment'
)
expect
(
dropdown
).
to
have_button
(
'Delete comment'
)
else
else
expect
(
dropdown
).
to
have_link
(
'Edit comment'
)
expect
(
dropdown
).
to
have_link
(
'Delete comment'
)
expect
(
dropdown
).
to
have_link
(
'Delete comment'
)
end
end
expect
(
dropdown
).
to
have_button
(
'Edit comment'
)
expect
(
dropdown
).
to
have_link
(
'Report as abuse'
,
href:
abuse_report_path
)
expect
(
dropdown
).
to
have_link
(
'Report as abuse'
,
href:
abuse_report_path
)
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