summaryrefslogtreecommitdiff
path: root/qa/qa/page/profile
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-11-17 11:33:21 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-11-17 11:33:21 +0000
commit7021455bd1ed7b125c55eb1b33c5a01f2bc55ee0 (patch)
tree5bdc2229f5198d516781f8d24eace62fc7e589e9 /qa/qa/page/profile
parent185b095e93520f96e9cfc31d9c3e69b498cdab7c (diff)
downloadgitlab-ce-7021455bd1ed7b125c55eb1b33c5a01f2bc55ee0.tar.gz
Add latest changes from gitlab-org/gitlab@15-6-stable-eev15.6.0-rc42
Diffstat (limited to 'qa/qa/page/profile')
-rw-r--r--qa/qa/page/profile/two_factor_auth.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/qa/qa/page/profile/two_factor_auth.rb b/qa/qa/page/profile/two_factor_auth.rb
index 63593bf0482..16aa60262d8 100644
--- a/qa/qa/page/profile/two_factor_auth.rb
+++ b/qa/qa/page/profile/two_factor_auth.rb
@@ -23,7 +23,14 @@ module QA
end
def click_configure_it_later_button
+ # TO DO: Investigate why button does not appear sometimes:
+ # https://gitlab.com/gitlab-org/gitlab/-/issues/382698
+ return unless has_element?(:configure_it_later_button)
+
click_element :configure_it_later_button
+ wait_until(max_duration: 10, message: "Waiting for create a group page") do
+ has_text?("Welcome to GitLab") && has_text?("Create a group")
+ end
end
def otp_secret_content