Commit ba43cbe7 authored by George Tsiolis's avatar George Tsiolis

Update envirnoment table and environment folder view spec

parent a979bbe3
......@@ -54,9 +54,7 @@ describe('Environment table', () => {
});
expect(vm.$el.querySelector('.js-deploy-board-row')).toBeDefined();
expect(
vm.$el.querySelector('.deploy-board-icon i').classList.contains('fa-caret-right'),
).toEqual(true);
expect(vm.$el.querySelector('.deploy-board-icon.ic-chevron-right')).not.toBeNull();
});
it('should toggle deploy board visibility when arrow is clicked', () => {
......
......@@ -125,9 +125,7 @@ describe('Environments Folder View', () => {
describe('deploy boards', () => {
it('should render arrow to open deploy boards', (done) => {
setTimeout(() => {
expect(
component.$el.querySelector('.deploy-board-icon i').classList.contains('fa-caret-right'),
).toEqual(true);
expect(component.$el.querySelector('.deploy-board-icon.ic-chevron-right')).not.toBeNull();
done();
}, 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