Update views for testability and update page objects
What does this MR do?
Backport of https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/15857
Does this MR meet the acceptance criteria?
Conformity
- [-] Changelog entry for user-facing changes, or community contribution. Check the link for other scenarios.
- [-] Documentation created/updated or follow-up review issue created
-
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
-
Separation of EE specific content