summaryrefslogtreecommitdiff
path: root/spec/javascripts/vue_mr_widget/components/deployment_spec.js
diff options
context:
space:
mode:
Diffstat (limited to 'spec/javascripts/vue_mr_widget/components/deployment_spec.js')
-rw-r--r--spec/javascripts/vue_mr_widget/components/deployment_spec.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/spec/javascripts/vue_mr_widget/components/deployment_spec.js b/spec/javascripts/vue_mr_widget/components/deployment_spec.js
index 5fda39ae775..20b5532a837 100644
--- a/spec/javascripts/vue_mr_widget/components/deployment_spec.js
+++ b/spec/javascripts/vue_mr_widget/components/deployment_spec.js
@@ -152,6 +152,7 @@ describe('Deployment component', () => {
expect(el.querySelector('.js-deploy-meta').getAttribute('href')).toEqual(
deploymentMockData.url,
);
+
expect(el.querySelector('.js-deploy-meta').innerText).toContain(deploymentMockData.name);
});
@@ -159,6 +160,7 @@ describe('Deployment component', () => {
expect(el.querySelector('.js-deploy-url').getAttribute('href')).toEqual(
deploymentMockData.external_url,
);
+
expect(el.querySelector('.js-deploy-url').innerText).toContain('View app');
});