Commit 0b16e930 authored by Filipa Lacerda's avatar Filipa Lacerda

Fix broken test

parent 127aa6fa
......@@ -213,7 +213,7 @@ describe('Grouped security reports app', () => {
it('render show all issues button for sast', done => {
setTimeout(() => {
expect(vm.$el.querySelector('js-sast-issue-list .js-expand-full-list')).not.toBeNull();
expect(vm.$el.querySelector('.js-sast-issue-list .js-expand-full-list')).not.toBeNull();
vm.$el.querySelector('.js-sast-issue-list .js-expand-full-list').click();
vm
......@@ -230,8 +230,8 @@ describe('Grouped security reports app', () => {
it('render show all issues button for dependency scanning', done => {
setTimeout(() => {
expect(vm.$el.querySelector('js-dss-issue-list .js-expand-full-list')).not.toBeNull();
vm.$el.querySelector('js-dss-issue-list .js-expand-full-list').click();
expect(vm.$el.querySelector('.js-dss-issue-list .js-expand-full-list')).not.toBeNull();
vm.$el.querySelector('.js-dss-issue-list .js-expand-full-list').click();
vm
.$nextTick()
......
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