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
diff options
context:
space:
mode:
Diffstat (limited to 'qa/qa/page/project/new.rb')
-rw-r--r--qa/qa/page/project/new.rb12
1 files changed, 8 insertions, 4 deletions
diff --git a/qa/qa/page/project/new.rb b/qa/qa/page/project/new.rb
index 06e476f009a..3ecdabeeed2 100644
--- a/qa/qa/page/project/new.rb
+++ b/qa/qa/page/project/new.rb
@@ -5,7 +5,6 @@ module QA
module Project
class New < Page::Base
include Page::Component::Project::Templates
- include Page::Component::Select2
include Page::Component::VisibilitySetting
include Layout::Flash
@@ -14,7 +13,6 @@ module QA
view 'app/views/projects/_new_project_fields.html.haml' do
element :initialize_with_readme_checkbox
- element :project_namespace_select
element :project_namespace_field, 'namespaces_options' # rubocop:disable QA/ElementWithPattern
element :project_name, 'text_field :name' # rubocop:disable QA/ElementWithPattern
element :project_path, 'text_field :path' # rubocop:disable QA/ElementWithPattern
@@ -28,6 +26,11 @@ module QA
element :template_option_row
end
+ view 'app/assets/javascripts/projects/new/components/new_project_url_select.vue' do
+ element :select_namespace_dropdown
+ element :select_namespace_dropdown_search_field
+ end
+
view 'app/assets/javascripts/vue_shared/new_namespace/components/welcome.vue' do
element :panel_link
end
@@ -46,8 +49,9 @@ module QA
def choose_namespace(namespace)
retry_on_exception do
- click_element :project_namespace_select unless dropdown_open?
- search_and_select(namespace)
+ click_element :select_namespace_dropdown
+ fill_element :select_namespace_dropdown_search_field, namespace
+ click_button namespace
end
end