summaryrefslogtreecommitdiff
path: root/qa
diff options
context:
space:
mode:
authorDylan Griffith <dyl.griffith@gmail.com>2018-07-24 16:05:12 +0100
committerDylan Griffith <dyl.griffith@gmail.com>2018-07-30 13:08:31 +0000
commitad05cb523dcc59caed3079d704acf813188162b2 (patch)
treee6cffcb344590330650ccb597b1ba738fba4e318 /qa
parentab5c97b126567ef5c0482339a127e979d6c8c661 (diff)
downloadgitlab-ce-ad05cb523dcc59caed3079d704acf813188162b2.tar.gz
Fix race condition in auto devops QA spec: ensure we wait for Install button to appear
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/page/project/operations/kubernetes/show.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/qa/qa/page/project/operations/kubernetes/show.rb b/qa/qa/page/project/operations/kubernetes/show.rb
index 4923304133e..e831edeb89e 100644
--- a/qa/qa/page/project/operations/kubernetes/show.rb
+++ b/qa/qa/page/project/operations/kubernetes/show.rb
@@ -16,6 +16,7 @@ module QA
def install!(application_name)
within(".js-cluster-application-row-#{application_name}") do
+ page.has_button?('Install', wait: 30)
click_on 'Install'
end
end