From ccb9ac29c6e435bb613821708d99b9488744319f Mon Sep 17 00:00:00 2001 From: Stan Hu Date: Sat, 8 Sep 2018 15:39:22 -0700 Subject: Fix QA builds failing due to change in new project page behavior https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/21386 re-introduced the explicit creation of the project name separate from the project path. Filling in the name does automatically populate the path, but the reverse is not true. We now fill in the name instead of the path. Closes https://gitlab.com/gitlab-org/gitlab-qa/issues/322 --- qa/qa/page/project/new.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qa/qa/page/project/new.rb b/qa/qa/page/project/new.rb index 1fb569b0f29..0766c98da6f 100644 --- a/qa/qa/page/project/new.rb +++ b/qa/qa/page/project/new.rb @@ -11,6 +11,7 @@ module QA view 'app/views/projects/_new_project_fields.html.haml' do element :project_namespace_select element :project_namespace_field, 'namespaces_options' + element :project_name, 'text_field :name' element :project_path, 'text_field :path' element :project_description, 'text_area :description' element :project_create_button, "submit 'Create project'" @@ -32,7 +33,7 @@ module QA end def choose_name(name) - fill_in 'project_path', with: name + fill_in 'project_name', with: name end def add_description(description) -- cgit v1.2.1