summaryrefslogtreecommitdiff
path: root/spec
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2017-02-21 14:54:36 +0000
committerFilipa Lacerda <filipa@gitlab.com>2017-02-21 14:54:36 +0000
commit3f7c1686790b3c54925be0aabc74c0d22b09e752 (patch)
tree82027e484c3205450954b5e376517b1e95963428 /spec
parent8b14e164a67387a465a701b10322c0c2a5053e83 (diff)
downloadgitlab-ce-3f7c1686790b3c54925be0aabc74c0d22b09e752.tar.gz
Diffstat (limited to 'spec')
-rw-r--r--spec/features/projects/pipelines/pipeline_spec.rb4
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') }