Commit 3ece39a1 authored by Tim Zallmann's avatar Tim Zallmann

Merge branch '13819-fix-dropdown-filter-tests' into 'master'

Fix dropdown filter tests

Closes #13819

See merge request gitlab-org/gitlab-ee!15659
parents 64db2c33 1c03ad8f
......@@ -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