diff options
author | Stan Hu <stanhu@gmail.com> | 2018-09-08 15:39:22 -0700 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-09-08 15:41:22 -0700 |
commit | ccb9ac29c6e435bb613821708d99b9488744319f (patch) | |
tree | 028eaa79180d88e70395b648d771cfa4c10eb950 | |
parent | 98a5413de4089943c4ecfaabcfbe9a3e10ca444d (diff) | |
download | gitlab-ce-ccb9ac29c6e435bb613821708d99b9488744319f.tar.gz |
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
-rw-r--r-- | qa/qa/page/project/new.rb | 3 |
1 files changed, 2 insertions, 1 deletions
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) |