Commit d6e07380 authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix syntax error in forntend pipeline specs

parent 08cc88f9
......@@ -135,12 +135,13 @@ describe('Pipeline Url Component', () => {
flags: {
failure_reason: true,
},
failure_reason: 'some reason'
failure_reason: 'some reason',
},
autoDevopsHelpPath: 'foo',
},
}).$mount();
expect(component.$el.querySelector('.js-pipeline-url-failure').textContent).toContain('error');
expect(component.$el.querySelector('.js-pipeline-url-failure').getAttribute('title').toContain('some reason');
expect(component.$el.querySelector('.js-pipeline-url-failure').getAttribute('title')).toContain('some reason');
});
});
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