Failure in browser_ui/3_create/repository/branch_with_unusual_name_spec.rb | Create Branch with unusual name when branch name contains slash, hash, double dash, and capital letter renders repository file tree correctly

Full description

Create Branch with unusual name when branch name contains slash, hash, double dash, and capital letter renders repository file tree correctly

File path

./qa/specs/features/browser_ui/3_create/repository/branch_with_unusual_name_spec.rb

Stack trace

Failure/Error: expect(show).to have_file('test-file.md')
  expected QA::Page::Project::Show to have file "test-file.md"

First happened in https://gitlab.com/gitlab-org/gitlab/-/jobs/3388603315.

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