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
dd45ac26
Commit
dd45ac26
authored
Mar 02, 2020
by
lauraMon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes failing specs and updates other spec
parent
06b72021
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
6 deletions
+4
-6
spec/features/error_tracking/user_searches_sentry_errors_spec.rb
...atures/error_tracking/user_searches_sentry_errors_spec.rb
+0
-2
spec/frontend/error_tracking/components/error_tracking_list_spec.js
...end/error_tracking/components/error_tracking_list_spec.js
+1
-1
spec/lib/sentry/client/issue_spec.rb
spec/lib/sentry/client/issue_spec.rb
+3
-3
No files found.
spec/features/error_tracking/user_searches_sentry_errors_spec.rb
View file @
dd45ac26
...
...
@@ -31,8 +31,6 @@ describe 'When a user searches for Sentry errors', :js, :use_clean_rails_memory_
find
(
'.gl-form-input'
).
set
(
'NotFound'
).
native
.
send_keys
(
:return
)
wait_for_requests
page
.
within
(
find
(
'.gl-table'
))
do
results
=
page
.
all
(
'.table-row'
)
expect
(
results
.
count
).
to
be
(
1
)
...
...
spec/frontend/error_tracking/components/error_tracking_list_spec.js
View file @
dd45ac26
...
...
@@ -163,7 +163,7 @@ describe('ErrorTrackingList', () => {
it
(
'
it searches by query
'
,
()
=>
{
findSearchBox
().
vm
.
$emit
(
'
input
'
,
'
search
'
);
findSearchBox
().
trigger
(
'
keyup.enter
'
);
expect
(
actions
.
searchByQuery
.
mock
.
calls
[
0
][
1
]).
to
Equal
(
'
search
'
);
expect
(
actions
.
searchByQuery
.
mock
.
calls
[
0
][
1
]).
to
Be
(
'
search
'
);
});
it
(
'
it sorts by fields
'
,
()
=>
{
...
...
spec/lib/sentry/client/issue_spec.rb
View file @
dd45ac26
...
...
@@ -49,7 +49,7 @@ describe Sentry::Client::Issue do
it_behaves_like
'calls sentry api'
it_behaves_like
'issues have correct return type'
,
Gitlab
::
ErrorTracking
::
Error
it_behaves_like
'issues have correct length'
,
1
it_behaves_like
'issues have correct length'
,
2
shared_examples
'has correct external_url'
do
context
'external_url'
do
...
...
@@ -184,7 +184,7 @@ describe Sentry::Client::Issue do
it_behaves_like
'calls sentry api'
it_behaves_like
'issues have correct return type'
,
Gitlab
::
ErrorTracking
::
Error
it_behaves_like
'issues have correct length'
,
1
it_behaves_like
'issues have correct length'
,
2
end
context
'when cursor is present'
do
...
...
@@ -194,7 +194,7 @@ describe Sentry::Client::Issue do
it_behaves_like
'calls sentry api'
it_behaves_like
'issues have correct return type'
,
Gitlab
::
ErrorTracking
::
Error
it_behaves_like
'issues have correct length'
,
1
it_behaves_like
'issues have correct length'
,
2
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