Commit 36f39c1d authored by Ramya Authappan's avatar Ramya Authappan

Merge branch 'fix-qa-login-register-spec' into 'master'

Sleep before submiting registration form QA test

See merge request gitlab-org/gitlab!48042
parents 1a823f10 bea23a6e
......@@ -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)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment