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
fdfb6a5c
Commit
fdfb6a5c
authored
May 15, 2020
by
Albert Salim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Quarantine feature specs
parent
a62bea15
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/support/shared_examples/features/error_tracking_shared_example.rb
...shared_examples/features/error_tracking_shared_example.rb
+3
-3
No files found.
spec/support/shared_examples/features/error_tracking_shared_example.rb
View file @
fdfb6a5c
...
@@ -49,7 +49,7 @@ shared_examples 'expanded stack trace context' do |selected_line: nil, expected_
...
@@ -49,7 +49,7 @@ shared_examples 'expanded stack trace context' do |selected_line: nil, expected_
end
end
shared_examples
'error tracking show page'
do
shared_examples
'error tracking show page'
do
it
'renders the error details'
do
it
'renders the error details'
,
quarantine:
{
issue:
'https://gitlab.com/gitlab-org/gitlab/-/issues/217810'
}
do
content
=
page
.
find
(
".content"
)
content
=
page
.
find
(
".content"
)
nav
=
page
.
find
(
"nav.breadcrumbs"
)
nav
=
page
.
find
(
"nav.breadcrumbs"
)
header
=
page
.
find
(
".error-details-header"
)
header
=
page
.
find
(
".error-details-header"
)
...
@@ -67,11 +67,11 @@ shared_examples 'error tracking show page' do
...
@@ -67,11 +67,11 @@ shared_examples 'error tracking show page' do
expect
(
content
).
to
have_content
(
'Users: 0'
)
expect
(
content
).
to
have_content
(
'Users: 0'
)
end
end
it
'renders the stack trace heading'
do
it
'renders the stack trace heading'
,
quarantine:
{
issue:
'https://gitlab.com/gitlab-org/gitlab/-/issues/217810'
}
do
expect
(
page
).
to
have_content
(
'Stack trace'
)
expect
(
page
).
to
have_content
(
'Stack trace'
)
end
end
it
'renders the stack trace'
,
:quarantine
do
it
'renders the stack trace'
,
quarantine:
{
issue:
'https://gitlab.com/gitlab-org/gitlab/-/issues/217810'
}
do
event_response
[
'entries'
][
0
][
'data'
][
'values'
][
0
][
'stacktrace'
][
'frames'
].
each
do
|
frame
|
event_response
[
'entries'
][
0
][
'data'
][
'values'
][
0
][
'stacktrace'
][
'frames'
].
each
do
|
frame
|
expect
(
frame
[
'filename'
]).
not_to
be_nil
expect
(
frame
[
'filename'
]).
not_to
be_nil
expect
(
page
).
to
have_content
(
frame
[
'filename'
])
expect
(
page
).
to
have_content
(
frame
[
'filename'
])
...
...
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