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

Fixed Locked Status Icon Karma Specs

parent 44feb1d5
......@@ -45,7 +45,7 @@ describe('RepoFile', () => {
expect(vm.$el.querySelector('.fa-spin.fa-spinner')).toBeFalsy();
});
it('does not render commit message and datetime if mini', (done) => {
it('does not render commit message and datetime if mini', (done) => {
vm = createComponent({
file: file(),
});
......@@ -122,7 +122,7 @@ describe('RepoFile', () => {
});
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', () => {
});
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