summaryrefslogtreecommitdiff
path: root/qa/qa/scenario/gitlab/project/create.rb
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/scenario/gitlab/project/create.rb')
-rw-r--r--qa/qa/scenario/gitlab/project/create.rb9
1 files changed, 4 insertions, 5 deletions
diff --git a/qa/qa/scenario/gitlab/project/create.rb b/qa/qa/scenario/gitlab/project/create.rb
index 3b015c71da3..078de78de61 100644
--- a/qa/qa/scenario/gitlab/project/create.rb
+++ b/qa/qa/scenario/gitlab/project/create.rb
@@ -1,4 +1,5 @@
require 'securerandom'
+require_relative '../sandbox/prepare'
module QA
module Scenario
@@ -12,11 +13,9 @@ module QA
end
def perform
- Page::Main::Menu.act { go_to_groups }
- Page::Dashboard::Groups.act do
- prepare_sandbox
- prepare_test_namespace
- end
+ Scenario::Gitlab::Sandbox::Prepare.perform
+
+ Page::Dashboard::Groups.act { prepare_test_namespace }
Page::Group::Show.act { go_to_new_project }
Page::Project::New.perform do |page|