diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-10-04 14:32:54 +0300 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2017-10-05 12:43:07 +0300 |
commit | a2e6afdd8c3886ab7b0ac608da6c2952667fe877 (patch) | |
tree | 7c35034ef4ee5284b229758d4e7fbe1bb8a1326c /spec/javascripts/pipelines/pipeline_url_spec.js | |
parent | d6e0738098dea1b243280f857ed05c68ad5a8397 (diff) |
Fix frotnend pipeline specs for pipeline error badge
Diffstat (limited to 'spec/javascripts/pipelines/pipeline_url_spec.js')
-rw-r--r-- | spec/javascripts/pipelines/pipeline_url_spec.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/spec/javascripts/pipelines/pipeline_url_spec.js b/spec/javascripts/pipelines/pipeline_url_spec.js index c40842f80b4..cb8e4c32780 100644 --- a/spec/javascripts/pipelines/pipeline_url_spec.js +++ b/spec/javascripts/pipelines/pipeline_url_spec.js @@ -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'); }); }); |