Make sure the job is not still running
This commit is contained in:
parent
94aa0b16f9
commit
b1625d39f5
1 changed files with 8 additions and 1 deletions
|
@ -82,7 +82,14 @@ module QA
|
|||
Page::Project::Show.act { wait_for_push }
|
||||
Page::Menu::Side.act { click_ci_cd_pipelines }
|
||||
Page::Project::Pipeline::Index.act { go_to_latest_pipeline }
|
||||
Page::Project::Pipeline::Show.act { go_to_first_job }
|
||||
|
||||
Page::Project::Pipeline::Show.act do
|
||||
go_to_first_job
|
||||
|
||||
wait do
|
||||
!has_content?('running')
|
||||
end
|
||||
end
|
||||
|
||||
Page::Project::Job::Show.perform do |job|
|
||||
expect(job.output).to include(sha1sum)
|
||||
|
|
Loading…
Reference in a new issue