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
ff944b3a
Commit
ff944b3a
authored
Jan 14, 2019
by
samdbeckham
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adds a test for the fixed vulnerability icon
parent
69031a0d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
1 deletion
+12
-1
ee/spec/javascripts/vue_mr_widget/ee_mr_widget_options_spec.js
...ec/javascripts/vue_mr_widget/ee_mr_widget_options_spec.js
+1
-1
ee/spec/javascripts/vue_shared/security_reports/grouped_security_reports_app_spec.js
...red/security_reports/grouped_security_reports_app_spec.js
+11
-0
No files found.
ee/spec/javascripts/vue_mr_widget/ee_mr_widget_options_spec.js
View file @
ff944b3a
...
...
@@ -579,7 +579,7 @@ describe('ee merge request widget options', () => {
vm
.
$el
.
querySelector
(
'
.js-sast-container .report-block-list-issue-description
'
)
.
textContent
,
),
).
toEqual
(
'
Container scanning detected 1 new
vulnerability
'
);
).
toEqual
(
'
Container scanning detected 1 new
, and 1 fixed vulnerabilities
'
);
done
();
},
0
);
});
...
...
ee/spec/javascripts/vue_shared/security_reports/grouped_security_reports_app_spec.js
View file @
ff944b3a
...
...
@@ -223,6 +223,17 @@ describe('Grouped security reports app', () => {
});
},
0
);
});
it
(
'
has the success icon for fixed vulnerabilities
'
,
done
=>
{
setTimeout
(()
=>
{
const
icon
=
vm
.
$el
.
querySelector
(
'
.js-sast-container~.js-plain-element .ic-status_success_borderless
'
,
);
expect
(
icon
).
not
.
toBeNull
();
done
();
},
0
);
});
});
describe
(
'
with the pipelinePath prop
'
,
()
=>
{
...
...
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