Add step for quick add menu to onboarding tour

pull/9161/head
Wieland Lindenthal 4 years ago committed by Oliver Günther
parent 8c44d99d76
commit 21af36f56a
  1. 1
      config/locales/js-en.yml
  2. 5
      frontend/src/app/globals/onboarding/tours/menu_tour.ts
  3. 3
      spec/support/onboarding_helper.rb

@ -506,6 +506,7 @@ en:
help_menu: 'In the <b>Help</b> menu you will find a user guide and additional help resources. <br> Enjoy your work with OpenProject!'
members: 'Invite new <b>Members</b> to join your project.'
project_selection: 'Please click on one of the projects with useful demo data to get started. <br> The <b>Demo project</b> suits best for classical project management, while the <b>Scrum project</b> is better for Agile project management.'
quick_add_button: 'Create a new project or invite coworkers.'
sidebar_arrow: "With the arrow you can navigate back to the project's <b>Main menu</b>."
welcome: 'Take a three minutes introduction tour to learn the most <b>important features</b>. <br> We recommend completing the steps until the end. You can restart the tour any time.'
wiki: 'Within the <b>Wiki</b> you can document and share knowledge together with your team.'

@ -10,6 +10,11 @@ export function menuTourSteps() {
'showSkip': false,
'nextButton': { text: I18n.t('js.onboarding.buttons.next') },
},
{
'next .op-quick-add-menu': I18n.t('js.onboarding.steps.quick_add_button'),
'showSkip': false,
'nextButton': { text: I18n.t('js.onboarding.buttons.next') },
},
{
'next .op-app-help': I18n.t('js.onboarding.steps.help_menu'),
'shape': 'circle',

@ -60,6 +60,9 @@ module OnboardingHelper
next_button.click
expect(page).to have_text 'Within the Wiki you can document and share knowledge together with your team.'
next_button.click
expect(page).to have_text 'Create a new project or invite coworkers.'
next_button.click
expect(page).to have_text 'In the Help menu you will find a user guide and additional help resources.'

Loading…
Cancel
Save