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-05 10:41:59 +0300
committerSanad Liaquat <sliaquat@gitlab.com>2019-03-07 07:49:07 +0300
commit35660a222eba577441b13015170df589b524d37b (patch)
tree108bf6e88f3a128b6f18e6f5a6f4abbccd39a462 /qa
parentb6e50a4e021fe55518e826721ba723b4732a7300 (diff)
Add qa class and some refactor
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 eabeae1acc4..552b2293115 100644
--- a/qa/qa/page/project/new.rb
+++ b/qa/qa/page/project/new.rb
@@ -24,11 +24,14 @@ module QA
end
def choose_test_namespace
+ choose_namespace(Runtime::Namespace.path)
+ end
+
+ def choose_namespace(namespace)
retry_on_exception do
click_body
click_element :project_namespace_select
-
- search_and_select(Runtime::Namespace.path)
+ search_and_select(namespace)
end
end