Commit a2e6afdd authored by Grzegorz Bizon's avatar Grzegorz Bizon

Fix frotnend pipeline specs for pipeline error badge

parent d6e07380
...@@ -141,7 +141,8 @@ describe('Pipeline Url Component', () => { ...@@ -141,7 +141,8 @@ describe('Pipeline Url Component', () => {
}, },
}).$mount(); }).$mount();
expect(component.$el.querySelector('.js-pipeline-url-failure').textContent).toContain('error'); 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