Commit ca16a6bd authored by Filipa Lacerda's avatar Filipa Lacerda

Fix broken test

parent 3d273c3c
......@@ -107,7 +107,7 @@ describe 'Commits' do
describe 'Cancel build' do
it 'cancels build' do
visit ci_status_path(pipeline)
click_on 'Cancel'
find('a.btn[title="Cancel"]').click
expect(page).to have_content 'canceled'
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