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
path: root/spec
diff options
context:
space:
mode:
authordimitrieh <dimitriehoekstra@gmail.com>2017-02-21 15:25:42 +0300
committerdimitrieh <dimitriehoekstra@gmail.com>2017-02-21 15:25:42 +0300
commit8b14e164a67387a465a701b10322c0c2a5053e83 (patch)
tree06a5e1b4753314abe5c508a0fbd2f0a568b96e2d /spec
parentb86640fee90a7bc7b752b0d66ac7310dd9673b23 (diff)
fix more tests
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 e457a935d91..a8f557bd07d 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_on 'Retry' }
+ before { click_link('Retry', class: 'js-retry-button') }
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_on 'Retry' }
+ before { click_link('Retry', class: 'js-retry-button') }
it { expect(page).not_to have_content('Retry') }
it { expect(page).to have_selector('.retried') }