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
54e8a26f
Commit
54e8a26f
authored
Jan 20, 2020
by
charlieablett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add Aggregate Failures block
- To help diagnose a flaky feature spec
parent
f347c4bd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
spec/support/features/discussion_comments_shared_example.rb
spec/support/features/discussion_comments_shared_example.rb
+9
-7
No files found.
spec/support/features/discussion_comments_shared_example.rb
View file @
54e8a26f
...
...
@@ -275,13 +275,15 @@ shared_examples 'thread comments' do |resource_name|
find
(
"
#{
menu_selector
}
li"
,
match: :first
)
items
=
all
(
"
#{
menu_selector
}
li"
)
expect
(
items
.
first
).
to
have_content
'Comment'
expect
(
items
.
first
).
to
have_selector
'.fa-check'
expect
(
items
.
first
[
'class'
]).
to
match
'droplab-item-selected'
expect
(
items
.
last
).
to
have_content
'Start thread'
expect
(
items
.
last
).
not_to
have_selector
'.fa-check'
expect
(
items
.
last
[
'class'
]).
not_to
match
'droplab-item-selected'
aggregate_failures
do
expect
(
items
.
first
).
to
have_content
'Comment'
expect
(
items
.
first
).
to
have_selector
'.fa-check'
expect
(
items
.
first
[
'class'
]).
to
match
'droplab-item-selected'
expect
(
items
.
last
).
to
have_content
'Start thread'
expect
(
items
.
last
).
not_to
have_selector
'.fa-check'
expect
(
items
.
last
[
'class'
]).
not_to
match
'droplab-item-selected'
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