diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-19 09:09:07 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-11-19 09:09:07 +0300 |
commit | b8520295072b31b11a1ad89770815aae17411979 (patch) | |
tree | 762528d05d1f12c1832549ed65ee12812ea8d741 /qa | |
parent | b57142452211f98175ac75f473741c67988867f5 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'qa')
-rw-r--r-- | qa/qa/page/main/sign_up.rb | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/qa/qa/page/main/sign_up.rb b/qa/qa/page/main/sign_up.rb index f8e85798012..7da682976e7 100644 --- a/qa/qa/page/main/sign_up.rb +++ b/qa/qa/page/main/sign_up.rb @@ -24,6 +24,14 @@ module QA fill_element :new_user_username_field, user.username fill_element :new_user_email_field, user.email fill_element :new_user_password_field, user.password + + # Because invisible_captcha would prevent submitting this form + # within 4 seconds, sleep here. This can be removed once we + # implement invisible_captcha as an application setting instead + # of a feature flag, so we can turn it off while testing. + # Issue: https://gitlab.com/gitlab-org/gitlab/-/issues/284113 + sleep 4 + click_element :new_user_register_button if has_element?(:new_user_register_button) click_element :get_started_button if has_element?(:get_started_button) |