diff options
author | Filipa Lacerda <filipa@gitlab.com> | 2017-02-21 14:54:36 +0000 |
---|---|---|
committer | Filipa Lacerda <filipa@gitlab.com> | 2017-02-21 14:54:36 +0000 |
commit | 3f7c1686790b3c54925be0aabc74c0d22b09e752 (patch) | |
tree | 82027e484c3205450954b5e376517b1e95963428 /spec | |
parent | 8b14e164a67387a465a701b10322c0c2a5053e83 (diff) | |
download | gitlab-ce-3f7c1686790b3c54925be0aabc74c0d22b09e752.tar.gz |
Fix broken testrename-retry-failed-pipeline-to-retry
Diffstat (limited to 'spec')
-rw-r--r-- | spec/features/projects/pipelines/pipeline_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/features/projects/pipelines/pipeline_spec.rb b/spec/features/projects/pipelines/pipeline_spec.rb index a8f557bd07d..9cae000388f 100644 --- a/spec/features/projects/pipelines/pipeline_spec.rb +++ b/spec/features/projects/pipelines/pipeline_spec.rb @@ -164,7 +164,7 @@ describe 'Pipeline', :feature, :js do it { expect(page).not_to have_content('retried') } context 'when retrying' do - before { click_link('Retry', class: 'js-retry-button') } + before { find('.js-retry-button').trigger('click') } it { expect(page).not_to have_content('Retry') } end @@ -226,7 +226,7 @@ describe 'Pipeline', :feature, :js do it { expect(page).not_to have_content('retried') } context 'when retrying' do - before { click_link('Retry', class: 'js-retry-button') } + before { find('js-retry-button').trigger('click') } it { expect(page).not_to have_content('Retry') } it { expect(page).to have_selector('.retried') } |