Commit 7421a8ff authored by Nick Thomas's avatar Nick Thomas

Fix a failing spec in spec/features/projects/jobs_spec.rb

parent 74949838
......@@ -393,7 +393,7 @@ feature 'Jobs', :feature do
visit namespace_project_job_path(project.namespace, project, job)
click_link 'Cancel'
page.within('.build-header') do
click_link 'Retry job'
click_link 'Retry'
end
end
......@@ -409,7 +409,7 @@ feature 'Jobs', :feature do
before do
job.run!
visit namespace_project_job_path(project.namespace, project, job)
click_link 'Cancel'
find('.js-cancel-job').click()
page.driver.post(retry_namespace_project_job_path(project.namespace, project, job2))
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