Commit 76b2097f authored by Justin Ho's avatar Justin Ho

Remove fa-arrow-* CSS and fix specs

Fix wrong icon used in dropdown_create_label.vue
parent 2818c251
...@@ -33,7 +33,7 @@ export default { ...@@ -33,7 +33,7 @@ export default {
:aria-label="__('Go back')" :aria-label="__('Go back')"
category="tertiary" category="tertiary"
class="dropdown-title-button dropdown-menu-back" class="dropdown-title-button dropdown-menu-back"
icon="close" icon="arrow-left"
/> />
{{ headerTitle }} {{ headerTitle }}
<button <button
......
...@@ -134,10 +134,6 @@ ...@@ -134,10 +134,6 @@
content: '\f100'; content: '\f100';
} }
.fa-arrow-left::before {
content: '\f060';
}
.fa-trash-o::before { .fa-trash-o::before {
content: '\f014'; content: '\f014';
} }
...@@ -166,10 +162,6 @@ ...@@ -166,10 +162,6 @@
content: '\f0c6'; content: '\f0c6';
} }
.fa-arrow-up::before {
content: '\f062';
}
.fa-bug::before { .fa-bug::before {
content: '\f188'; content: '\f188';
} }
...@@ -186,10 +178,6 @@ ...@@ -186,10 +178,6 @@
content: '\f0f3'; content: '\f0f3';
} }
.fa-arrow-down::before {
content: '\f063';
}
.fa-bitbucket-square::before { .fa-bitbucket-square::before {
content: '\f172'; content: '\f172';
} }
...@@ -242,10 +230,6 @@ ...@@ -242,10 +230,6 @@
content: '\f04b'; content: '\f04b';
} }
.fa-arrow-right::before {
content: '\f061';
}
.fa-search-plus::before { .fa-search-plus::before {
content: '\f00e'; content: '\f00e';
} }
......
...@@ -43,7 +43,7 @@ describe('DropdownCreateLabelComponent', () => { ...@@ -43,7 +43,7 @@ describe('DropdownCreateLabelComponent', () => {
); );
expect(backButtonEl).not.toBe(null); expect(backButtonEl).not.toBe(null);
expect(backButtonEl.querySelector('.fa-arrow-left')).not.toBe(null); expect(backButtonEl.querySelector('[data-testid="arrow-left-icon"]')).not.toBe(null);
}); });
it('renders component header element as `Create new label` when `headerTitle` prop is not provided', () => { it('renders component header element as `Create new label` when `headerTitle` prop is not provided', () => {
......
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