Enable browser_ui/1_manage/login/log_in_with_2fa_spec.rb and browser_ui/1_manage/group/group_audit_logs_2_spec.rb on Staging.

browser_ui/1_manage/login/log_in_with_2fa_spec.rb is being introduced in this MR but it is currently skipped in staging with :skip_live_env flag. This is due to the following reasons:

  • This test enables 2FA on a group. This could cause other tests to fail as has happened before. Before enabling this test on staging, I would like to ensure it is stable in regular qa pipelines and that I am able to run the test against staging from local. This would require that all the selectors introduce as part of this MR reach staging.
  • This test creates a new user that will be presented with Guided Tour in staging. We need to disable user_onboarding feature on staging. I currently do not have chatops access. Requested here: https://gitlab.com/gitlab-com/team-member-epics/access-requests/-/issues/5932
  • If gitlab-org/gitlab!35442 (merged) reaches staging sooner, the above step would not be requried.

This issue is to enable the test in staging by removing the :skip_live_env flag.

Edited by Sanad Liaquat