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:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-10-19 12:08:58 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-10-19 12:08:58 +0300
commit93e4425400aa60f54f1bbccb26ef6581503952f3 (patch)
tree60ec09e58a7ba58d3d795ddc12803d40471b758d /spec/frontend/blob/pipeline_tour_success_modal_spec.js
parent731d58455c61ad6400924171eb182f2c2ab2f0a4 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/blob/pipeline_tour_success_modal_spec.js')
-rw-r--r--spec/frontend/blob/pipeline_tour_success_modal_spec.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/spec/frontend/blob/pipeline_tour_success_modal_spec.js b/spec/frontend/blob/pipeline_tour_success_modal_spec.js
index 50db1675e13..a02c968c4b5 100644
--- a/spec/frontend/blob/pipeline_tour_success_modal_spec.js
+++ b/spec/frontend/blob/pipeline_tour_success_modal_spec.js
@@ -16,6 +16,7 @@ describe('PipelineTourSuccessModal', () => {
stubs: {
GlModal,
GlSprintf,
+ 'gl-emoji': '<img/>',
},
});
};
@@ -66,9 +67,11 @@ describe('PipelineTourSuccessModal', () => {
it('has expected structure', () => {
const modal = wrapper.find(GlModal);
const sprintf = modal.find(GlSprintf);
+ const emoji = modal.find('img');
- expect(modal.attributes('title')).toContain("That's it, well done!");
+ expect(wrapper.text()).toContain("That's it, well done!");
expect(sprintf.exists()).toBe(true);
+ expect(emoji.exists()).toBe(true);
});
it('renders the link for codeQualityLink', () => {