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

Fix dropdown filter tests

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