Commit 8cb16fb8 authored by Tim Zallmann's avatar Tim Zallmann

Fixed Locked Status Icon Karma Specs

parent 44feb1d5
...@@ -122,7 +122,7 @@ describe('RepoFile', () => { ...@@ -122,7 +122,7 @@ describe('RepoFile', () => {
}); });
it('renders a tooltip', () => { it('renders a tooltip', () => {
expect(vm.$el.querySelector('.repo-file-name span').dataset.originalTitle).toContain('Locked by testuser'); expect(vm.$el.querySelector('.repo-file-name span:nth-child(2)').dataset.originalTitle).toContain('Locked by testuser');
}); });
}); });
}); });
...@@ -91,7 +91,7 @@ describe('RepoTab', () => { ...@@ -91,7 +91,7 @@ describe('RepoTab', () => {
}); });
it('renders a tooltip', () => { it('renders a tooltip', () => {
expect(vm.$el.querySelector('span').dataset.originalTitle).toContain('Locked by testuser'); expect(vm.$el.querySelector('span:nth-child(2)').dataset.originalTitle).toContain('Locked by testuser');
}); });
}); });
......
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