Commit 0b4196eb authored by Sanad Liaquat's avatar Sanad Liaquat

Merge branch 'ml-fix-merge-fork-test-again' into 'master'

Add fork namespace dynamic selector

Closes #220189

See merge request gitlab-org/gitlab!34142
parents 82ec75ac 084cfc73
......@@ -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