Commit f510018b authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix frotnend pipeline specs for pipeline error badge

parent cb60f94e
......@@ -141,7 +141,8 @@ describe('Pipeline Url Component', () => {
},
}).$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('data-original-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