Commit 2e941271 authored by Ezekiel Kigbo's avatar Ezekiel Kigbo

Merge branch '208831-replace-issue-created-icon-with-issues' into 'master'

Replace 'issue-created' icon with 'issues'

See merge request gitlab-org/gitlab!26409
parents 33eea595 4b497ef7
---
title: Replace issue-created icon with issues icon
merge_request: 26409
author:
type: other
...@@ -31,7 +31,7 @@ export default { ...@@ -31,7 +31,7 @@ export default {
<div class="d-inline"> <div class="d-inline">
<gl-icon <gl-icon
v-gl-tooltip v-gl-tooltip
name="issue-created" name="issues"
class="text-success vertical-align-middle" class="text-success vertical-align-middle"
:title="s__('SecurityReports|Issue Created')" :title="s__('SecurityReports|Issue Created')"
/> />
......
...@@ -36,7 +36,7 @@ export default { ...@@ -36,7 +36,7 @@ export default {
</script> </script>
<template> <template>
<event-item :author="feedback.author" :created-at="feedback.created_at" icon-name="issue-created"> <event-item :author="feedback.author" :created-at="feedback.created_at" icon-name="issues">
<gl-sprintf :message="eventText"> <gl-sprintf :message="eventText">
<template #issueLink> <template #issueLink>
<gl-link :href="feedback.issue_url">#{{ feedback.issue_iid }}</gl-link> <gl-link :href="feedback.issue_url">#{{ feedback.issue_iid }}</gl-link>
......
...@@ -36,7 +36,7 @@ describe('Security Dashboard Table Row', () => { ...@@ -36,7 +36,7 @@ describe('Security Dashboard Table Row', () => {
const findLoader = () => wrapper.find('.js-skeleton-loader'); const findLoader = () => wrapper.find('.js-skeleton-loader');
const findContent = i => wrapper.findAll('.table-mobile-content').at(i); const findContent = i => wrapper.findAll('.table-mobile-content').at(i);
const findAllIssueCreated = () => wrapper.findAll('[data-testid="issue-created-icon"]'); const findAllIssueCreated = () => wrapper.findAll('[data-testid="issues-icon"]');
const hasSelectedClass = () => wrapper.classes('gl-bg-blue-50'); const hasSelectedClass = () => wrapper.classes('gl-bg-blue-50');
const findCheckbox = () => wrapper.find(GlFormCheckbox); const findCheckbox = () => wrapper.find(GlFormCheckbox);
...@@ -173,7 +173,7 @@ describe('Security Dashboard Table Row', () => { ...@@ -173,7 +173,7 @@ describe('Security Dashboard Table Row', () => {
createComponent(mount, { props: { vulnerability } }); createComponent(mount, { props: { vulnerability } });
}); });
it('should have a `issue-created` icon', () => { it('should have a `issues` icon', () => {
expect(findAllIssueCreated()).toHaveLength(1); expect(findAllIssueCreated()).toHaveLength(1);
}); });
}); });
...@@ -185,7 +185,7 @@ describe('Security Dashboard Table Row', () => { ...@@ -185,7 +185,7 @@ describe('Security Dashboard Table Row', () => {
createComponent(mount, { props: { vulnerability } }); createComponent(mount, { props: { vulnerability } });
}); });
it('should not have a `issue-created` icon', () => { it('should not have a `issues` icon', () => {
expect(findAllIssueCreated()).toHaveLength(0); expect(findAllIssueCreated()).toHaveLength(0);
}); });
}); });
...@@ -197,7 +197,7 @@ describe('Security Dashboard Table Row', () => { ...@@ -197,7 +197,7 @@ describe('Security Dashboard Table Row', () => {
createComponent(shallowMount, { props: { vulnerability } }); createComponent(shallowMount, { props: { vulnerability } });
}); });
it('should not have a `issue-created` icon', () => { it('should not have a `issues` icon', () => {
expect(findAllIssueCreated()).toHaveLength(0); expect(findAllIssueCreated()).toHaveLength(0);
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment