Skip to content
Snippets Groups Projects
Commit 3f7c1686 authored by Filipa Lacerda's avatar Filipa Lacerda
Browse files

Fix broken test

parent 8b14e164
No related branches found
No related tags found
1 merge request!9369Rename retry failed button on pipeline page to just retry
Pipeline #
Loading
@@ -164,7 +164,7 @@ describe 'Pipeline', :feature, :js do
Loading
@@ -164,7 +164,7 @@ describe 'Pipeline', :feature, :js do
it { expect(page).not_to have_content('retried') } it { expect(page).not_to have_content('retried') }
   
context 'when retrying' do 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).not_to have_content('Retry') }
end end
Loading
@@ -226,7 +226,7 @@ describe 'Pipeline', :feature, :js do
Loading
@@ -226,7 +226,7 @@ describe 'Pipeline', :feature, :js do
it { expect(page).not_to have_content('retried') } it { expect(page).not_to have_content('retried') }
   
context 'when retrying' do 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).not_to have_content('Retry') }
it { expect(page).to have_selector('.retried') } it { expect(page).to have_selector('.retried') }
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment