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>2021-04-09 09:09:30 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-04-09 09:09:30 +0300
commit760822a53715549c2f115370ed24a19db1b7d63a (patch)
tree0af7724f62de47f5d2d873f14a94f677a7e0ca17 /spec/frontend/pipelines
parentb724fa8431b7e47130bc59249fef9167ebb2b4dc (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/pipelines')
-rw-r--r--spec/frontend/pipelines/nav_controls_spec.js6
-rw-r--r--spec/frontend/pipelines/pipelines_spec.js18
2 files changed, 12 insertions, 12 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 () => {
diff --git a/spec/frontend/pipelines/pipelines_spec.js b/spec/frontend/pipelines/pipelines_spec.js
index dd9f9e529d2..84a25f42201 100644
--- a/spec/frontend/pipelines/pipelines_spec.js
+++ b/spec/frontend/pipelines/pipelines_spec.js
@@ -191,16 +191,16 @@ describe('Pipelines', () => {
expect(findNavigationControls().exists()).toBe(true);
});
- it('renders Run Pipeline link', () => {
+ it('renders Run pipeline link', () => {
expect(findRunPipelineButton().attributes('href')).toBe(paths.newPipelinePath);
});
- it('renders CI Lint link', () => {
+ it('renders CI lint link', () => {
expect(findCiLintButton().attributes('href')).toBe(paths.ciLintPath);
});
- it('renders Clear Runner Cache button', () => {
- expect(findCleanCacheButton().text()).toBe('Clear Runner Caches');
+ it('renders Clear runner cache button', () => {
+ expect(findCleanCacheButton().text()).toBe('Clear runner caches');
});
it('renders pipelines in a table', () => {
@@ -499,16 +499,16 @@ describe('Pipelines', () => {
expect(findTab('all').text()).toMatchInterpolatedText('All 0');
});
- it('renders Run Pipeline link', () => {
+ it('renders Run pipeline link', () => {
expect(findRunPipelineButton().attributes('href')).toBe(paths.newPipelinePath);
});
- it('renders CI Lint link', () => {
+ it('renders CI lint link', () => {
expect(findCiLintButton().attributes('href')).toBe(paths.ciLintPath);
});
- it('renders Clear Runner Cache button', () => {
- expect(findCleanCacheButton().text()).toBe('Clear Runner Caches');
+ it('renders Clear runner cache button', () => {
+ expect(findCleanCacheButton().text()).toBe('Clear runner caches');
});
it('renders empty state', () => {
@@ -714,7 +714,7 @@ describe('Pipelines', () => {
expect(findRunPipelineButton().attributes('href')).toBe(paths.newPipelinePath);
expect(findCiLintButton().attributes('href')).toBe(paths.ciLintPath);
- expect(findCleanCacheButton().text()).toBe('Clear Runner Caches');
+ expect(findCleanCacheButton().text()).toBe('Clear runner caches');
});
it('shows error state', () => {