Commit 980c0e19 authored by Shinya Maeda's avatar Shinya Maeda

Fix pipeline spec

parent 9621bbb9
...@@ -87,7 +87,9 @@ describe 'Pipeline', :js do ...@@ -87,7 +87,9 @@ describe 'Pipeline', :js do
it 'should be possible to cancel the running build' do it 'should be possible to cancel the running build' do
find('#ci-badge-deploy .ci-action-icon-container').click find('#ci-badge-deploy .ci-action-icon-container').click
expect(page).not_to have_content('Cancel running') page.within('#ci-badge-deploy') do
expect(page).to have_css('.js-icon-retry')
end
end end
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment