Stablize and refactor LDAP e2e specs
What does this MR do?
Stablize and refactor LDAP e2e specs. For some reason, the reload was causing the test to land on the unrenderable /groups/gitlab-qa-sandbox-group/Synched-engineering-group-7bda822d/-/ldap/sync
link. This MR ensures that if a refresh is required, we navigate to the right page.
Related to #255891 (closed)
Conformity
- [-] Changelog entry
- [-] Documentation (if required)
-
Code review guidelines - [-] Merge request performance guidelines
-
Style guides - [-] Database guides
- [-] Separation of EE specific content
Security
If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:
- [-] Label as security and @ mention
@gitlab-com/gl-security/appsec
- [-] The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
- [-] Security reports checked/validated by a reviewer from the AppSec team
Edited by Sanad Liaquat