Commit 0a4a6591 authored by Nicolò Maria Mezzopera's avatar Nicolò Maria Mezzopera

Merge branch 'dreedy-iterate-on-novice-or-experienced-copy-during-onboarding' into 'master'

Iterate on copy in the “Novice or Experienced” page

See merge request gitlab-org/gitlab!48086
parents 875071dd e9f835ca
...@@ -15,8 +15,8 @@ ...@@ -15,8 +15,8 @@
= image_tag 'novice.svg', width: '78', height: '78', alt: '' = image_tag 'novice.svg', width: '78', height: '78', alt: ''
%div %div
%p.gl-font-lg.gl-font-weight-bold.gl-mb-2= _('Novice') %p.gl-font-lg.gl-font-weight-bold.gl-mb-2= _('Novice')
%p= _('I’m not very familiar with the basics of project management and DevOps.') %p= _('I’m not familiar with the basics of DevOps.')
= link_to _('Show me everything'), users_sign_up_experience_level_path(experience_level: :novice, namespace_path: params[:namespace_path]), method: :patch, class: 'stretched-link' = link_to _('Show me the basics'), users_sign_up_experience_level_path(experience_level: :novice, namespace_path: params[:namespace_path]), method: :patch, class: 'stretched-link'
.card .card
.card-body.gl-display-flex.gl-py-8.gl-pr-5.gl-pl-7 .card-body.gl-display-flex.gl-py-8.gl-pr-5.gl-pl-7
...@@ -24,5 +24,5 @@ ...@@ -24,5 +24,5 @@
= image_tag 'experienced.svg', width: '78', height: '78', alt: '' = image_tag 'experienced.svg', width: '78', height: '78', alt: ''
%div %div
%p.gl-font-lg.gl-font-weight-bold.gl-mb-2= _('Experienced') %p.gl-font-lg.gl-font-weight-bold.gl-mb-2= _('Experienced')
%p= _('I’m familiar with the basics of project management and DevOps.') %p= _('I’m familiar with the basics of DevOps.')
= link_to _('Show me more advanced stuff'), users_sign_up_experience_level_path(experience_level: :experienced, namespace_path: params[:namespace_path]), method: :patch, class: 'stretched-link' = link_to _('Show me advanced features'), users_sign_up_experience_level_path(experience_level: :experienced, namespace_path: params[:namespace_path]), method: :patch, class: 'stretched-link'
---
title: Iterate on the copy in the “Novice or Experienced” page of the registration
onboarding flow.
merge_request: 48086
author:
type: changed
...@@ -43,7 +43,7 @@ RSpec.describe 'User sees new onboarding flow', :js do ...@@ -43,7 +43,7 @@ RSpec.describe 'User sees new onboarding flow', :js do
Sidekiq::Worker.drain_all Sidekiq::Worker.drain_all
click_on 'Show me everything' click_on 'Show me the basics'
expect(page).to have_content('Learn GitLab') expect(page).to have_content('Learn GitLab')
expect(page).to have_css('.popover', text: 'Here are all your projects in your group, including the one you just created. To start, let’s take a look at your personalized learning project which will help you learn about GitLab at your own pace. 1 / 2') expect(page).to have_css('.popover', text: 'Here are all your projects in your group, including the one you just created. To start, let’s take a look at your personalized learning project which will help you learn about GitLab at your own pace. 1 / 2')
......
...@@ -15260,10 +15260,10 @@ msgstr "" ...@@ -15260,10 +15260,10 @@ msgstr ""
msgid "Iteration|cannot be more than 500 years in the future" msgid "Iteration|cannot be more than 500 years in the future"
msgstr "" msgstr ""
msgid "I’m familiar with the basics of project management and DevOps." msgid "I’m familiar with the basics of DevOps."
msgstr "" msgstr ""
msgid "I’m not very familiar with the basics of project management and DevOps." msgid "I’m not familiar with the basics of DevOps."
msgstr "" msgstr ""
msgid "Jaeger URL" msgid "Jaeger URL"
...@@ -24923,13 +24923,13 @@ msgstr "" ...@@ -24923,13 +24923,13 @@ msgstr ""
msgid "Show list" msgid "Show list"
msgstr "" msgstr ""
msgid "Show me everything" msgid "Show me advanced features"
msgstr "" msgstr ""
msgid "Show me how to add a pipeline" msgid "Show me how to add a pipeline"
msgstr "" msgstr ""
msgid "Show me more advanced stuff" msgid "Show me the basics"
msgstr "" msgstr ""
msgid "Show only direct members" msgid "Show only direct members"
......
...@@ -23,14 +23,14 @@ RSpec.describe 'Experience level screen' do ...@@ -23,14 +23,14 @@ RSpec.describe 'Experience level screen' do
it 'shows the option for novice' do it 'shows the option for novice' do
is_expected.to have_content('Novice') is_expected.to have_content('Novice')
is_expected.to have_content('I’m not very familiar with the basics of project management and DevOps') is_expected.to have_content('I’m not familiar with the basics of DevOps')
is_expected.to have_content('Show me everything') is_expected.to have_content('Show me the basics')
end end
it 'shows the option for experienced' do it 'shows the option for experienced' do
is_expected.to have_content('Experienced') is_expected.to have_content('Experienced')
is_expected.to have_content('I’m familiar with the basics of project management and DevOps') is_expected.to have_content('I’m familiar with the basics of DevOps')
is_expected.to have_content('Show me more advanced stuff') is_expected.to have_content('Show me advanced features')
end end
it 'does not display any flash messages' do it 'does not display any flash messages' do
......
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