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:
authorSanad Liaquat <sliaquat@gitlab.com>2019-03-06 16:42:02 +0300
committerSanad Liaquat <sliaquat@gitlab.com>2019-03-06 16:42:02 +0300
commitde1d53fbd240b59a2423ac1c9dfcd0419a2a7ec1 (patch)
treed90dc03df490a3756016701c67ec4a6878a1cc82 /qa
parentc9e5ce8dbd25203484b43c48f0a55a5d7bf396e8 (diff)
Retry choose_test_namespace on exception
Diffstat (limited to 'qa')
-rw-r--r--qa/qa/page/project/new.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/qa/qa/page/project/new.rb b/qa/qa/page/project/new.rb
index 9f1867ef8a5..eabeae1acc4 100644
--- a/qa/qa/page/project/new.rb
+++ b/qa/qa/page/project/new.rb
@@ -24,9 +24,12 @@ module QA
end
def choose_test_namespace
- click_element :project_namespace_select
+ retry_on_exception do
+ click_body
+ click_element :project_namespace_select
- search_and_select(Runtime::Namespace.path)
+ search_and_select(Runtime::Namespace.path)
+ end
end
def go_to_import_project