Commit 419d4400 authored by Mark Lapierre's avatar Mark Lapierre

Update fork namespace selector

parent 7fc9242c
......@@ -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