Commit 358327f4 authored by Nick Thomas's avatar Nick Thomas

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

parent a059adf0
...@@ -382,9 +382,7 @@ feature 'Jobs', :feature do ...@@ -382,9 +382,7 @@ feature 'Jobs', :feature do
job.run! job.run!
visit namespace_project_job_path(project.namespace, project, job) visit namespace_project_job_path(project.namespace, project, job)
find('.js-cancel-job').click() find('.js-cancel-job').click()
page.within('.build-header') do find('.js-retry-button').trigger('click')
find('.js-retry-button').click()
end
end end
it 'shows the right status and buttons', :js do it 'shows the right status and buttons', :js do
......
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