diff options
author | Sanad Liaquat <sliaquat@gitlab.com> | 2019-03-06 18:42:02 +0500 |
---|---|---|
committer | Sanad Liaquat <sliaquat@gitlab.com> | 2019-03-06 18:42:02 +0500 |
commit | de1d53fbd240b59a2423ac1c9dfcd0419a2a7ec1 (patch) | |
tree | d90dc03df490a3756016701c67ec4a6878a1cc82 /qa | |
parent | c9e5ce8dbd25203484b43c48f0a55a5d7bf396e8 (diff) | |
download | gitlab-ce-de1d53fbd240b59a2423ac1c9dfcd0419a2a7ec1.tar.gz |
Retry choose_test_namespace on exception
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/page/project/new.rb | 7 |
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 |