Commit 084cfc73 authored by Mark Lapierre's avatar Mark Lapierre

Add fork namespace dynamic selector

parent 156c3306
......@@ -22,5 +22,5 @@
- else
.avatar-container.s100.mx-auto
= image_tag(avatar, class: "avatar s100")
%h5.prepend-top-default{ data: { qa_selector: 'fork_namespace_content' } }
%h5.prepend-top-default{ data: { qa_selector: 'fork_namespace_content', qa_name: namespace.human_name } }
= namespace.human_name
......@@ -10,7 +10,7 @@ module QA
end
def choose_namespace(namespace = Runtime::Namespace.path)
click_element(:fork_namespace_content)
click_element(:fork_namespace_content, name: namespace)
end
end
end
......
# frozen_string_literal: true
module QA
context 'Create', quarantine: { issue: 'https://gitlab.com/gitlab-org/gitlab/-/issues/220189', type: :investigating } do
context 'Create' do
describe 'Merge request creation from fork' do
it 'user forks a project, submits a merge request and maintainer merges it' do
Flow::Login.sign_in
......
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