Commit 961b0f8f authored by Ramya Authappan's avatar Ramya Authappan

Merge branch 'ml-update-fork-namespace-selector' into 'master'

Update fork namespace selector

Closes #220189

See merge request gitlab-org/gitlab!33815
parents d59c77bb 419d4400
......@@ -22,5 +22,5 @@
- else
.avatar-container.s100.mx-auto
= image_tag(avatar, class: "avatar s100")
%h5.prepend-top-default
%h5.prepend-top-default{ data: { qa_selector: 'fork_namespace_content' } }
= namespace.human_name
......@@ -6,11 +6,11 @@ module QA
module Fork
class New < Page::Base
view 'app/views/projects/forks/_fork_button.html.haml' do
element :namespace, 'link_to project_forks_path' # rubocop:disable QA/ElementWithPattern
element :fork_namespace_content
end
def choose_namespace(namespace = Runtime::Namespace.path)
click_on namespace
click_element(:fork_namespace_content)
end
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment