Commit e8a4333e authored by George Tsiolis's avatar George Tsiolis

Update environments specs

parent be5dcd2e
...@@ -61,7 +61,7 @@ export default { ...@@ -61,7 +61,7 @@ export default {
<span> <span>
<icon name="play" /> <icon name="play" />
<icon <icon
name="angle-down" name="chevron-down"
aria-hidden="true" aria-hidden="true"
/> />
<gl-loading-icon v-if="isLoading" /> <gl-loading-icon v-if="isLoading" />
......
...@@ -524,13 +524,13 @@ export default { ...@@ -524,13 +524,13 @@ export default {
<icon <icon
v-show="model.isOpen" v-show="model.isOpen"
name="angle-down" name="chevron-down"
class="folder-icon" class="folder-icon"
aria-hidden="true" aria-hidden="true"
/> />
<icon <icon
v-show="!model.isOpen" v-show="!model.isOpen"
name="angle-right" name="chevron-right"
class="folder-icon" class="folder-icon"
aria-hidden="true" aria-hidden="true"
/> />
......
...@@ -568,6 +568,10 @@ ...@@ -568,6 +568,10 @@
top: -1px; top: -1px;
} }
.dropdown-menu-close-icon {
vertical-align: middle;
}
.dropdown-menu-back { .dropdown-menu-back {
left: 7px; left: 7px;
top: 2px; top: 2px;
......
...@@ -170,10 +170,10 @@ describe('Environment', () => { ...@@ -170,10 +170,10 @@ describe('Environment', () => {
Vue.nextTick(() => { Vue.nextTick(() => {
expect( expect(
component.$el.querySelector('.folder-icon i.fa-caret-right').getAttribute('style'), component.$el.querySelector('.folder-icon.ic-angle-right').getAttribute('style'),
).toContain('display: none'); ).toContain('display: none');
expect( expect(
component.$el.querySelector('.folder-icon i.fa-caret-down').getAttribute('style'), component.$el.querySelector('.folder-icon.ic-angle-down').getAttribute('style'),
).not.toContain('display: none'); ).not.toContain('display: none');
done(); done();
}); });
...@@ -191,10 +191,10 @@ describe('Environment', () => { ...@@ -191,10 +191,10 @@ describe('Environment', () => {
Vue.nextTick(() => { Vue.nextTick(() => {
expect( expect(
component.$el.querySelector('.folder-icon i.fa-caret-down').getAttribute('style'), component.$el.querySelector('.folder-icon.ic-angle-down').getAttribute('style'),
).toContain('display: none'); ).toContain('display: none');
expect( expect(
component.$el.querySelector('.folder-icon i.fa-caret-right').getAttribute('style'), component.$el.querySelector('.folder-icon.ic-angle-right').getAttribute('style'),
).not.toContain('display: none'); ).not.toContain('display: none');
done(); done();
}); });
......
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