Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2018-03-14 16:06:02 +0300
committerLin Jen-Shin <godfat@godfat.org>2018-03-29 14:40:32 +0300
commitb1625d39f5b6e37ccccd0c996dd2db2f7f37730d (patch)
treebc7395c5c5dea15edf48b6798c2230573e7c73cd /qa
parent94aa0b16f91e1ef239d3711f018313f3edbfc800 (diff)
Make sure the job is not still running
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/specs/features/project/deploy_key_clone_spec.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/qa/qa/specs/features/project/deploy_key_clone_spec.rb b/qa/qa/specs/features/project/deploy_key_clone_spec.rb
index c5428fee0d5..3465fe109ee 100644
--- a/qa/qa/specs/features/project/deploy_key_clone_spec.rb
+++ b/qa/qa/specs/features/project/deploy_key_clone_spec.rb
@@ -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)