Commit 19ac6bad authored by DJ Mountney's avatar DJ Mountney

Update QA deploy key clone test to wait for job traces

Otherwise if the completion status loaded before the trace, the test
will fail.
parent e114c6fc
......@@ -92,7 +92,9 @@ module QA
Page::Project::Pipeline::Show.act { go_to_first_job }
Page::Project::Job::Show.perform do |job|
job.wait(reload: false) { job.completed? }
job.wait(reload: false) do
job.completed? && !job.has_css?('.js-build-refresh')
end
expect(job.passed?).to be_truthy, "Job status did not become \"passed\"."
expect(job.output).to include(sha1sum)
......
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