Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-10-04 14:32:54 +0300
committerGrzegorz Bizon <grzesiek.bizon@gmail.com>2017-10-05 12:43:07 +0300
commita2e6afdd8c3886ab7b0ac608da6c2952667fe877 (patch)
tree7c35034ef4ee5284b229758d4e7fbe1bb8a1326c /spec/javascripts
parentd6e0738098dea1b243280f857ed05c68ad5a8397 (diff)
Fix frotnend pipeline specs for pipeline error badge
Diffstat (limited to 'spec/javascripts')
-rw-r--r--spec/javascripts/pipelines/pipeline_url_spec.js3
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');
});
});