Commit 1c03ad8f authored by Enrique Alcantara's avatar Enrique Alcantara

Fix dropdown filter tests

parent bb1a1bc6
......@@ -139,8 +139,8 @@ describe('GroupsDropdownFilter component', () => {
.trigger('click');
wrapper.vm.$nextTick(() => {
expect(findDropdownButton().contains('img.avatar')).toBe(true);
expect(findDropdownButton().contains('div.identicon')).toBe(false);
expect(findDropdownButton().contains('img.gl-avatar')).toBe(true);
expect(findDropdownButton().contains('.gl-avatar-identicon')).toBe(false);
done();
});
});
......@@ -151,8 +151,8 @@ describe('GroupsDropdownFilter component', () => {
.trigger('click');
wrapper.vm.$nextTick(() => {
expect(findDropdownButton().contains('img.avatar')).toBe(false);
expect(findDropdownButton().contains('div.identicon')).toBe(true);
expect(findDropdownButton().contains('img.gl-avatar')).toBe(false);
expect(findDropdownButton().contains('.gl-avatar-identicon')).toBe(true);
done();
});
});
......
......@@ -147,8 +147,8 @@ describe('ProjectsDropdownFilter component', () => {
.trigger('click');
wrapper.vm.$nextTick(() => {
expect(findDropdownButton().contains('img.avatar')).toBe(true);
expect(findDropdownButton().contains('div.identicon')).toBe(false);
expect(findDropdownButton().contains('img.gl-avatar')).toBe(true);
expect(findDropdownButton().contains('.gl-avatar-identicon')).toBe(false);
done();
});
});
......@@ -159,8 +159,8 @@ describe('ProjectsDropdownFilter component', () => {
.trigger('click');
wrapper.vm.$nextTick(() => {
expect(findDropdownButton().contains('img.avatar')).toBe(false);
expect(findDropdownButton().contains('div.identicon')).toBe(true);
expect(findDropdownButton().contains('img.gl-avatar')).toBe(false);
expect(findDropdownButton().contains('.gl-avatar-identicon')).toBe(true);
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