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
30b0626d
Commit
30b0626d
authored
Mar 14, 2021
by
Fernando
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Code review feedback on selectors
* Update legacy unit test selectors
parent
b836bcf5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
ee/app/assets/javascripts/vue_shared/license_compliance/mr_widget_license_report.vue
...ue_shared/license_compliance/mr_widget_license_report.vue
+1
-1
ee/spec/frontend/vue_shared/license_compliance/mr_widget_license_report_spec.js
...hared/license_compliance/mr_widget_license_report_spec.js
+2
-1
No files found.
ee/app/assets/javascripts/vue_shared/license_compliance/mr_widget_license_report.vue
View file @
30b0626d
...
@@ -169,7 +169,7 @@ export default {
...
@@ -169,7 +169,7 @@ export default {
<gl-link
<gl-link
v-if=
"reportContainsBlacklistedLicense && licenseComplianceDocsPath"
v-if=
"reportContainsBlacklistedLicense && licenseComplianceDocsPath"
:href=
"licenseComplianceDocsPath"
:href=
"licenseComplianceDocsPath"
class=
"js-
security-approval-help-link"
data-testid=
"
security-approval-help-link"
target=
"_blank"
target=
"_blank"
>
>
<gl-icon
:size=
"12"
name=
"question"
/>
<gl-icon
:size=
"12"
name=
"question"
/>
...
...
ee/spec/frontend/vue_shared/license_compliance/mr_widget_license_report_spec.js
View file @
30b0626d
...
@@ -338,7 +338,8 @@ describe('License Report MR Widget', () => {
...
@@ -338,7 +338,8 @@ describe('License Report MR Widget', () => {
});
});
describe
(
'
approval status
'
,
()
=>
{
describe
(
'
approval status
'
,
()
=>
{
const
findLicenseComplianceHelpLink
=
()
=>
wrapper
.
find
(
'
.js-security-approval-help-link
'
);
const
findLicenseComplianceHelpLink
=
()
=>
wrapper
.
find
(
'
[data-testid="security-approval-help-link"]
'
);
it
(
'
does not show a link to security approval help page if report does not contain blacklisted licenses
'
,
()
=>
{
it
(
'
does not show a link to security approval help page if report does not contain blacklisted licenses
'
,
()
=>
{
mountComponent
();
mountComponent
();
...
...
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