diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-02 18:09:42 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-02-02 18:09:42 +0000 |
commit | 2d66c59d593354aa98785899cc8d5e640f62a012 (patch) | |
tree | b0f82a38ffba401a1ad448983785660038c4cf4b /spec/frontend/pipelines | |
parent | dab865db1e85e2fc3dd29dae8dc6b8e11b1ba3f7 (diff) | |
download | gitlab-ce-2d66c59d593354aa98785899cc8d5e640f62a012.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/frontend/pipelines')
-rw-r--r-- | spec/frontend/pipelines/pipelines_spec.js | 2 | ||||
-rw-r--r-- | spec/frontend/pipelines/pipelines_table_row_spec.js | 4 |
2 files changed, 4 insertions, 2 deletions
diff --git a/spec/frontend/pipelines/pipelines_spec.js b/spec/frontend/pipelines/pipelines_spec.js index e6a8b9e37e4..cbad5b4c1e6 100644 --- a/spec/frontend/pipelines/pipelines_spec.js +++ b/spec/frontend/pipelines/pipelines_spec.js @@ -66,10 +66,10 @@ describe('Pipelines', () => { const findRunPipelineButton = () => findByTestId('run-pipeline-button'); const findCiLintButton = () => findByTestId('ci-lint-button'); const findCleanCacheButton = () => findByTestId('clear-cache-button'); + const findStagesDropdown = () => findByTestId('mini-pipeline-graph-dropdown-toggle'); const findEmptyState = () => wrapper.find(EmptyState); const findBlankState = () => wrapper.find(BlankState); - const findStagesDropdown = () => wrapper.find('.js-builds-dropdown-button'); const findTablePagination = () => wrapper.find(TablePagination); diff --git a/spec/frontend/pipelines/pipelines_table_row_spec.js b/spec/frontend/pipelines/pipelines_table_row_spec.js index 9cdd24b2ab5..660651547fc 100644 --- a/spec/frontend/pipelines/pipelines_table_row_spec.js +++ b/spec/frontend/pipelines/pipelines_table_row_spec.js @@ -155,7 +155,9 @@ describe('Pipelines Table Row', () => { it('should render an icon for each stage', () => { expect( - wrapper.findAll('.table-section:nth-child(4) .js-builds-dropdown-button').length, + wrapper.findAll( + '.table-section:nth-child(4) [data-testid="mini-pipeline-graph-dropdown-toggle"]', + ).length, ).toEqual(pipeline.details.stages.length); }); }); |