Skip to content
代码片段 群组 项目
提交 bbaf76d2 编辑于 作者: xfyuan's avatar xfyuan 提交者: xfyuan
浏览文件

Fix pre-main-jh pipeline 2024-12-12

上级 754df1ea
No related branches found
标签 v17.7.0-jh
无相关合并请求
检查流水线状态
...@@ -18,6 +18,7 @@ ...@@ -18,6 +18,7 @@
expect(page).to have_content('Welcome to GitLab') # rubocop:disable RSpec/ExpectInHook -- need verify content expect(page).to have_content('Welcome to GitLab') # rubocop:disable RSpec/ExpectInHook -- need verify content
select 'Software Developer', from: 'user_onboarding_status_role'
choose 'Just me' choose 'Just me'
choose 'Create a new project' choose 'Create a new project'
click_on 'Continue' click_on 'Continue'
......
...@@ -62,7 +62,7 @@ def registers_from_invite(user:, group:) ...@@ -62,7 +62,7 @@ def registers_from_invite(user:, group:)
end end
def fill_in_welcome_form def fill_in_welcome_form
select 'Software Developer', from: 'user_role' select 'Software Developer', from: 'user_onboarding_status_role'
select 'A different reason', from: 'user_registration_objective' select 'A different reason', from: 'user_registration_objective'
fill_in 'Why are you signing up? (optional)', with: 'My reason' fill_in 'Why are you signing up? (optional)', with: 'My reason'
end end
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
end end
def fills_in_welcome_form def fills_in_welcome_form
select 'Software Developer', from: 'user_role' select 'Software Developer', from: 'user_onboarding_status_role'
select 'A different reason', from: 'user_registration_objective' select 'A different reason', from: 'user_registration_objective'
fill_in 'Why are you signing up? (optional)', with: 'My reason' fill_in 'Why are you signing up? (optional)', with: 'My reason'
...@@ -44,7 +44,7 @@ def expect_to_see_welcome_form ...@@ -44,7 +44,7 @@ def expect_to_see_welcome_form
page.within(welcome_form_selector) do page.within(welcome_form_selector) do
expect(page).to have_content('Role') expect(page).to have_content('Role')
expect(page).to have_field('user_role', valid: false) expect(page).to have_field('user_onboarding_status_role', valid: false)
expect(page).to have_field('user_setup_for_company_true', valid: false) expect(page).to have_field('user_setup_for_company_true', valid: false)
expect(page).to have_content('I\'m signing up for GitLab because:') expect(page).to have_content('I\'m signing up for GitLab because:')
expect(page).to have_content('Who will be using GitLab?') expect(page).to have_content('Who will be using GitLab?')
......
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
fill_in_sign_up_form(user) fill_in_sign_up_form(user)
select 'Software Developer', from: 'user_role' select 'Software Developer', from: 'user_onboarding_status_role'
choose 'My company or team' choose 'My company or team'
choose 'Create a new project' choose 'Create a new project'
click_button 'Continue' click_button 'Continue'
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
fill_in_sign_up_form(user) fill_in_sign_up_form(user)
select 'Software Developer', from: 'user_role' select 'Software Developer', from: 'user_onboarding_status_role'
choose 'My company or team' choose 'My company or team'
click_button 'Continue' click_button 'Continue'
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册