diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-11 15:08:50 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-09-11 15:08:50 +0300 |
commit | 0eaa82ad61d2fda42b2dd5cf58cc08654b2d69ef (patch) | |
tree | 9ab5c60316dd689e0ac53830fd3910817006c9b3 /qa | |
parent | 6b5f961bef87c70effe57b14d41f9ed882b5d296 (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, 7 insertions, 1 deletions
diff --git a/qa/qa/page/main/sign_up.rb b/qa/qa/page/main/sign_up.rb index c47d2ce9c74..6a1408f7fc7 100644 --- a/qa/qa/page/main/sign_up.rb +++ b/qa/qa/page/main/sign_up.rb @@ -14,6 +14,10 @@ module QA element :new_user_accept_terms_checkbox end + view 'ee/app/views/registrations/welcome/_button.html.haml' do + element :get_started_button + end + def sign_up!(user) fill_element :new_user_name_field, user.name fill_element :new_user_username_field, user.username @@ -24,7 +28,9 @@ module QA check_element :new_user_accept_terms_checkbox if has_element?(:new_user_accept_terms_checkbox) signed_in = retry_until do - click_element :new_user_register_button + click_element :new_user_register_button if has_element?(:new_user_register_button) + + click_element :get_started_button if has_element?(:get_started_button) Page::Main::Menu.perform(&:has_personal_area?) end |