Failure in browser_ui/3_create/repository/merge_with_code_owner_in_subgroup_spec.rb | Create Codeowners when the project is in a subgroup and the code owner is the root group behaves like code owner merge request is approved and merged

Full description

Create Codeowners when the project is in a subgroup and the code owner is the root group behaves like code owner merge request is approved and merged

File path

./qa/specs/features/ee/browser_ui/3_create/repository/merge_with_code_owner_in_subgroup_spec.rb

Stack trace

Failure/Error: raise Validatable::PageValidationError, "#{element.name} did not appear on #{self.name} as expected"

QA::Page::Validatable::PageValidationError:
  navbar did not appear on QA::Page::Main::Menu as expected
Shared Example Group: "code owner merge request" called from ./qa/specs/features/ee/browser_ui/3_create/repository/merge_with_code_owner_in_subgroup_spec.rb:37

First happened in https://ops.gitlab.net/gitlab-org/quality/staging/-/jobs/9737248.

Related test case: https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347801.

Screenshot: create_codeowners_when_the_project_is_in_a_subgroup_and_the_code_owner_is_the_ro_2023-04-11-03-03-54.556