Failure in ee/browser_ui/3_create/repository/project_templates_spec.rb | Create Project templates when instance level successfully imports the project using template
<!--IssueSummary start-->
<details>
<summary>
Everyone can contribute. [Help move this issue forward](https://handbook.gitlab.com/handbook/marketing/developer-relations/contributor-success/community-contributors-workflows/#contributor-links) while earning points, leveling up and collecting rewards.
</summary>
- [Close this issue](https://contributors.gitlab.com/manage-issue?action=close&projectId=278964&issueIid=421259)
</details>
<!--IssueSummary end-->
### Test metadata (don't modify)
| Field | Value |
| ------ | ------ |
| File | [`qa/qa/specs/features/ee/browser_ui/3_create/repository/project_templates_spec.rb#L104`](https://gitlab.com/gitlab-org/gitlab/-/blob/master/qa/qa/specs/features/ee/browser_ui/3_create/repository/project_templates_spec.rb#L104) |
| Description | `Create Project templates when instance level successfully imports the project using template` |
| Test level | |
| Hash | `60c664cf5b90a57229becce712c4383948b8839ebecb77ee37fd1e88449e7684` |
| Duration | 188.77 seconds |
| Expected duration | < 240 seconds |
| Test case | https://gitlab.com/gitlab-org/gitlab/-/quality/test_cases/347875 |
### Stack trace
```
Capybara::ElementNotFound: Unable to find css "[data-testid=\"context_switcher\"],[data-qa-selector=\"context_switcher\"]"
```
### Screenshot

### Reports (16)
1. 2023-08-08: https://gitlab.com/gitlab-org/gitlab/-/jobs/4821749931 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/958826762)
1. 2023-08-09: https://gitlab.com/gitlab-org/gitlab/-/jobs/4829922262 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/960142569)
1. 2023-08-10: https://gitlab.com/gitlab-org/gitlab/-/jobs/4838408735 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/961472816)
1. 2023-08-11: https://gitlab.com/gitlab-org/gitlab/-/jobs/4846346059 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/962777565)
1. 2023-08-12: https://gitlab.com/gitlab-org/gitlab/-/jobs/4857445364 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/964070326)
1. 2023-08-13: https://gitlab.com/gitlab-org/gitlab/-/jobs/4863263656 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/965938859)
1. 2023-08-14: https://gitlab.com/gitlab-org/gitlab/-/jobs/4865415094 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/966431222)
1. 2023-08-15: https://gitlab.com/gitlab-org/gitlab/-/jobs/4872705819 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/967592305)
1. 2023-08-16: https://gitlab.com/gitlab-org/gitlab/-/jobs/4880433995 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/968976493)
1. 2023-08-17: https://gitlab.com/gitlab-org/gitlab/-/jobs/4888698286 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/970402566)
1. 2023-08-18: https://gitlab.com/gitlab-org/gitlab/-/jobs/4897291821 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/971718315)
1. 2023-08-19: https://gitlab.com/gitlab-org/gitlab/-/jobs/4904565730 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/972907993)
1. 2023-08-20: https://gitlab.com/gitlab-org/gitlab/-/jobs/4906483385 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/973330891)
1. 2023-08-21: https://gitlab.com/gitlab-org/gitlab/-/jobs/4909101292 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/973896628)
1. 2023-08-22: https://gitlab.com/gitlab-org/gitlab/-/jobs/4917636405 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/975318576)
1. 2023-08-23: https://gitlab.com/gitlab-org/gitlab/-/jobs/4927100637 (https://gitlab.com/gitlab-org/gitlab/-/pipelines/976755356)
issue