blob: 8c6a50f251f822b297ddff6efc8d50b225ab8a12 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# frozen_string_literal: true
module QA
module Flow
module UserOnboarding
extend self
def onboard_user
Page::Registration::Welcome.perform do |welcome_page|
if welcome_page.has_get_started_button?
welcome_page.select_role('Other')
welcome_page.choose_setup_for_company_if_available
welcome_page.choose_create_a_new_project_if_available
welcome_page.click_get_started_button
end
end
end
end
end
end
QA::Flow::UserOnboarding.prepend_mod_with('Flow::UserOnboarding', namespace: QA)
|