summaryrefslogtreecommitdiff
path: root/spec/frontend/pipelines/nav_controls_spec.js
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-04-09 06:09:30 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-04-09 06:09:30 +0000
commit760822a53715549c2f115370ed24a19db1b7d63a (patch)
tree0af7724f62de47f5d2d873f14a94f677a7e0ca17 /spec/frontend/pipelines/nav_controls_spec.js
parentb724fa8431b7e47130bc59249fef9167ebb2b4dc (diff)
downloadgitlab-ce-760822a53715549c2f115370ed24a19db1b7d63a.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/pipelines/nav_controls_spec.js')
-rw-r--r--spec/frontend/pipelines/nav_controls_spec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/frontend/pipelines/nav_controls_spec.js b/spec/frontend/pipelines/nav_controls_spec.js
index 40cfd785a20..2c4740df174 100644
--- a/spec/frontend/pipelines/nav_controls_spec.js
+++ b/spec/frontend/pipelines/nav_controls_spec.js
@@ -29,7 +29,7 @@ describe('Pipelines Nav Controls', () => {
createComponent(mockData);
const runPipeline = findRunPipeline();
- expect(runPipeline.text()).toContain('Run Pipeline');
+ expect(runPipeline.text()).toContain('Run pipeline');
expect(runPipeline.attributes('href')).toBe(mockData.newPipelinePath);
});
@@ -55,7 +55,7 @@ describe('Pipelines Nav Controls', () => {
createComponent(mockData);
- expect(wrapper.find('.js-ci-lint').text().trim()).toContain('CI Lint');
+ expect(wrapper.find('.js-ci-lint').text().trim()).toContain('CI lint');
expect(wrapper.find('.js-ci-lint').attributes('href')).toBe(mockData.ciLintPath);
});
@@ -70,7 +70,7 @@ describe('Pipelines Nav Controls', () => {
});
it('should render button for resetting runner caches', () => {
- expect(wrapper.find('.js-clear-cache').text().trim()).toContain('Clear Runner Caches');
+ expect(wrapper.find('.js-clear-cache').text().trim()).toContain('Clear runner caches');
});
it('should emit postAction event when reset runner cache button is clicked', async () => {