OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Adapt onboarding tour to new Gantt module
Henriette Darge8ceeca8cb142
diff --git a/app/views/onboarding/_configuration_modal.html.erb b/app/views/onboarding/_configuration_modal.html.erbindex 437976f2c89..5ccd69bb4a5 100644--- a/app/views/onboarding/_configuration_modal.html.erb+++ b/app/views/onboarding/_configuration_modal.html.erb@@ -48,6 +48,7 @@ See COPYRIGHT and LICENSE files for more details.<div class="spot-action-bar--right"><buttonclass="button button_no-margin spot-action-bar--action spot-modal--cancel-button"+ data-tour-selector="modal-close-button"dynamic-content-modal-close-buttontitle=<%= t(:button_close) %>><%= t(:button_close) %></button>diff --git a/config/locales/js-en.yml b/config/locales/js-en.ymlindex 94fc4ddefc9..a0a01559bde 100644--- a/config/locales/js-en.yml+++ b/config/locales/js-en.yml@@ -630,7 +630,7 @@ en:full_view: 'The <b>work package details</b> view provides all the relevant information pertaining to a given work package, such as its description, status, priority, activities, dependencies, and comments.'back_button: 'Use the return arrow in the top left corner to exit and return to the work package list.'create_button: 'The <b>+ Create</b> button will add a new work package to your project.'- timeline_button: 'You can activate the <b>Gantt chart</b> view to create a timeline for your project.'+ gantt_menu: 'Create project schedules and timelines effortlessly using the Gantt chart module.'timeline: 'Here you can <b>edit your project plan</b>, create new work packages, such as tasks, milestones, phases, and more, as well as <b>add dependencies</b>. All team members can see and update the latest plan at any time.'team_planner:overview: 'The team planner lets you visually assign tasks to team members and get an overview of who is working on what.'diff --git a/frontend/src/app/core/setup/globals/onboarding/helpers.ts b/frontend/src/app/core/setup/globals/onboarding/helpers.tsindex 142ab5a15c9..7eea4eb9d5b 100644--- a/frontend/src/app/core/setup/globals/onboarding/helpers.ts+++ b/frontend/src/app/core/setup/globals/onboarding/helpers.ts@@ -1,5 +1,5 @@export const onboardingTourStorageKey = 'openProject-onboardingTour';-export type OnboardingTourNames = 'prepareBacklogs'|'backlogs'|'taskboard'|'homescreen'|'main';+export type OnboardingTourNames = 'prepareBacklogs'|'backlogs'|'taskboard'|'homescreen'|'workPackages'|'main';export enum ProjectName {demo = 'demo',@@ -43,8 +43,3 @@ export function waitForElement(subtree: true,});}--export function preventClickHandler(e:any) {- e.preventDefault();- e.stopPropagation();-}diff --git a/frontend/src/app/core/setup/globals/onboarding/onboarding_tour.ts b/frontend/src/app/core/setup/globals/onboarding/onboarding_tour.tsindex e76feaa5d92..0862cd8208c 100644--- a/frontend/src/app/core/setup/globals/onboarding/onboarding_tour.ts+++ b/frontend/src/app/core/setup/globals/onboarding/onboarding_tour.ts@@ -9,6 +9,7 @@ import { boardTourSteps } from 'core-app/core/setup/globals/onboarding/tours/boaimport { menuTourSteps } from 'core-app/core/setup/globals/onboarding/tours/menu_tour';import { homescreenOnboardingTourSteps } from 'core-app/core/setup/globals/onboarding/tours/homescreen_tour';import { teamPlannerTourSteps } from 'core-app/core/setup/globals/onboarding/tours/team_planners_tour';+import { ganttOnboardingTourSteps } from 'core-app/core/setup/globals/onboarding/tours/gantt_tour';require('core-vendor/enjoyhint');@@ -59,6 +60,14 @@ function moduleVisible(name:string):boolean {return document.getElementsByClassName(`${name}-menu-item`).length > 0;}+function workPackageTour() {+ initializeTour('wpTourFinished');+ waitForElement('.work-package--results-tbody', '#content', () => {+ const steps:OnboardingStep[] = wpOnboardingTourSteps();++ startTour(steps);+ });+}function mainTour(project:ProjectName = ProjectName.demo) {initializeTour('mainTourFinished');@@ -67,7 +76,7 @@ function mainTour(project:ProjectName = ProjectName.demo) {const eeTokenAvailable = !jQuery('body').hasClass('ee-banners-visible');waitForElement('.work-package--results-tbody', '#content', () => {- let steps:OnboardingStep[] = wpOnboardingTourSteps();+ let steps:OnboardingStep[] = ganttOnboardingTourSteps();// Check for EE editionif (eeTokenAvailable) {@@ -97,6 +106,9 @@ export function start(name:OnboardingTourNames, project?:ProjectName):void {initializeTour('startProjectTour');startTour(homescreenOnboardingTourSteps());break;+ case 'workPackages':+ workPackageTour();+ break;case 'main':mainTour(project);break;diff --git a/frontend/src/app/core/setup/globals/onboarding/onboarding_tour_trigger.ts b/frontend/src/app/core/setup/globals/onboarding/onboarding_tour_trigger.tsindex cf741618350..0dd1be044a1 100644--- a/frontend/src/app/core/setup/globals/onboarding/onboarding_tour_trigger.ts+++ b/frontend/src/app/core/setup/globals/onboarding/onboarding_tour_trigger.ts@@ -32,7 +32,7 @@ export function detectOnboardingTour():void {currentTourPart = '';sessionStorage.setItem(onboardingTourStorageKey, 'readyToStart');- // Start automatically when modal is closed by backdrop click+ // Start automatically when modal is closed by backdrop click or cancel buttonwaitForElement('.spot-modal-overlay_active', 'body', () => {const elementsByClassName = document.getElementsByClassName('spot-modal-overlay_active');Array.from(elementsByClassName).forEach((modalOverlay) => {@@ -42,6 +42,11 @@ export function detectOnboardingTour():void {void triggerTour('homescreen');}});++ jQuery('[data-tour-selector="modal-close-button"]')[0].addEventListener('click', () => {+ tourCancelled = true;+ void triggerTour('homescreen');+ });});});@@ -62,6 +67,11 @@ export function detectOnboardingTour():void {// ------------------------------- Tutorial WP page -------------------------------if (url.searchParams.get('start_onboarding_tour')) {+ void triggerTour('workPackages', ProjectName.demo);+ }++ // ------------------------------- Tutorial Main part (starting from the Gantt module) -------------------------------+ if (currentTourPart === 'wpTourFinished') {void triggerTour('main', ProjectName.demo);}}diff --git a/frontend/src/app/core/setup/globals/onboarding/tours/boards_tour.ts b/frontend/src/app/core/setup/globals/onboarding/tours/boards_tour.tsindex aa13c775aa3..69d9a39f4b6 100644--- a/frontend/src/app/core/setup/globals/onboarding/tours/boards_tour.ts+++ b/frontend/src/app/core/setup/globals/onboarding/tours/boards_tour.ts@@ -30,7 +30,7 @@ export function boardTourSteps(edition:'basic'|'enterprise', project:ProjectName},},{- 'next [data-test-selector="op-board-list"]': I18n.t(`js.onboarding.steps.boards.lists_${listExplanation}`),+ 'next [data-tour-selector="op-board-list"]': I18n.t(`js.onboarding.steps.boards.lists_${listExplanation}`),showSkip: false,nextButton: { text: I18n.t('js.onboarding.buttons.next') },containerClass: '-dark -hidden-arrow',@@ -41,7 +41,7 @@ export function boardTourSteps(edition:'basic'|'enterprise', project:ProjectName}),},{- 'next [data-test-selector="op-board-list--card-dropdown-add-button"]': I18n.t('js.onboarding.steps.boards.add'),+ 'next [data-tour-selector="op-board-list--card-dropdown-add-button"]': I18n.t('js.onboarding.steps.boards.add'),showSkip: false,nextButton: { text: I18n.t('js.onboarding.buttons.next') },condition: () => document.getElementsByClassName('op-board-list--add-button').length !== 0,@@ -52,12 +52,7 @@ export function boardTourSteps(edition:'basic'|'enterprise', project:ProjectNamenextButton: { text: I18n.t('js.onboarding.buttons.next') },containerClass: '-dark -hidden-arrow',onNext() {- const backArrows = Array.from(document.getElementsByClassName('main-menu--arrow-left-to-project'));- const boardsBackArrow = backArrows.find((backArrow) => (backArrow.nextElementSibling as HTMLElement).innerText === 'Boards') as HTMLElement;-- if (boardsBackArrow) {- boardsBackArrow.click();- }+ jQuery('[data-tour-selector="main-menu--arrow-left_boards"]')[0].click();},},];diff --git a/frontend/src/app/core/setup/globals/onboarding/tours/gantt_tour.ts b/frontend/src/app/core/setup/globals/onboarding/tours/gantt_tour.tsnew file mode 100644index 00000000000..d8bdf47db37--- /dev/null+++ b/frontend/src/app/core/setup/globals/onboarding/tours/gantt_tour.ts@@ -0,0 +1,20 @@+import { OnboardingStep } from 'core-app/core/setup/globals/onboarding/onboarding_tour';++export function ganttOnboardingTourSteps():OnboardingStep[] {+ return [+ {+ 'next .work-packages-tabletimeline--timeline-side': I18n.t('js.onboarding.steps.wp.timeline'),+ showSkip: false,+ nextButton: { text: I18n.t('js.onboarding.buttons.next') },+ containerClass: '-dark -hidden-arrow',+ },+ {+ 'next [data-tour-selector="main-menu--arrow-left_gantt"]': I18n.t('js.onboarding.steps.sidebar_arrow'),+ showSkip: false,+ nextButton: { text: I18n.t('js.onboarding.buttons.next') },+ onNext() {+ jQuery('[data-tour-selector="main-menu--arrow-left_gantt"]')[0].click();+ },+ },+ ];+}diff --git a/frontend/src/app/core/setup/globals/onboarding/tours/team_planners_tour.ts b/frontend/src/app/core/setup/globals/onboarding/tours/team_planners_tour.tsindex 8dbafca0dcf..474021b106b 100644--- a/frontend/src/app/core/setup/globals/onboarding/tours/team_planners_tour.ts+++ b/frontend/src/app/core/setup/globals/onboarding/tours/team_planners_tour.ts@@ -19,7 +19,7 @@ export function teamPlannerTourSteps():OnboardingStep[] {},},{- 'next [data-test-selector="op-team-planner--calendar-pane"]': I18n.t('js.onboarding.steps.team_planner.calendar'),+ 'next [data-tour-selector="op-team-planner--calendar-pane"]': I18n.t('js.onboarding.steps.team_planner.calendar'),showSkip: false,nextButton: { text: I18n.t('js.onboarding.buttons.next') },containerClass: '-dark -hidden-arrow',@@ -30,17 +30,17 @@ export function teamPlannerTourSteps():OnboardingStep[] {}),},{- 'next [data-test-selector="tp-assignee-add-button"]': I18n.t('js.onboarding.steps.team_planner.add_assignee'),+ 'next [data-tour-selector="tp-assignee-add-button"]': I18n.t('js.onboarding.steps.team_planner.add_assignee'),showSkip: false,nextButton: { text: I18n.t('js.onboarding.buttons.next') },},{- 'next [data-test-selector="op-team-planner--add-existing-toggle"]': I18n.t('js.onboarding.steps.team_planner.add_existing'),+ 'next [data-tour-selector="op-team-planner--add-existing-toggle"]': I18n.t('js.onboarding.steps.team_planner.add_existing'),showSkip: false,nextButton: { text: I18n.t('js.onboarding.buttons.next') },},{- 'next [data-test-selector="op-wp-single-card"]': I18n.t('js.onboarding.steps.team_planner.card'),+ 'next [data-tour-selector="op-wp-single-card"]': I18n.t('js.onboarding.steps.team_planner.card'),showSkip: false,nextButton: { text: I18n.t('js.onboarding.buttons.next') },onNext() {diff --git a/frontend/src/app/core/setup/globals/onboarding/tours/work_package_tour.ts b/frontend/src/app/core/setup/globals/onboarding/tours/work_package_tour.tsindex 01bd3101378..9480d1d41ee 100644--- a/frontend/src/app/core/setup/globals/onboarding/tours/work_package_tour.ts+++ b/frontend/src/app/core/setup/globals/onboarding/tours/work_package_tour.ts@@ -39,30 +39,15 @@ export function wpOnboardingTourSteps():OnboardingStep[] {});}),onNext() {- jQuery('#wp-view-toggle-button').click();+ jQuery('.main-menu--arrow-left-to-project')[0].click();},},{- 'next #wp-view-toggle-button': I18n.t('js.onboarding.steps.wp.timeline_button'),+ 'next #main-menu-gantt': I18n.t('js.onboarding.steps.wp.gantt_menu'),showSkip: false,nextButton: { text: I18n.t('js.onboarding.buttons.next') },- bottom: '-64',onNext() {- jQuery('#wp-view-context-menu .icon-view-timeline')[0].click();- },- },- {- 'next .work-packages-tabletimeline--timeline-side': I18n.t('js.onboarding.steps.wp.timeline'),- showSkip: false,- nextButton: { text: I18n.t('js.onboarding.buttons.next') },- containerClass: '-dark -hidden-arrow',- },- {- 'next .main-menu--arrow-left-to-project': I18n.t('js.onboarding.steps.sidebar_arrow'),- showSkip: false,- nextButton: { text: I18n.t('js.onboarding.buttons.next') },- onNext() {- jQuery('.main-menu--arrow-left-to-project')[0].click();+ jQuery('#main-menu-gantt')[0].click();},},];diff --git a/frontend/src/app/features/boards/board/board-list/board-list.component.html b/frontend/src/app/features/boards/board/board-list/board-list.component.htmlindex 075a04fc452..775369993e0 100644--- a/frontend/src/app/features/boards/board/board-list/board-list.component.html+++ b/frontend/src/app/features/boards/board/board-list/board-list.component.html@@ -2,6 +2,7 @@[attr.data-query-name]="listName"class="op-board-list loading-indicator--location"data-test-selector="op-board-list"+ data-tour-selector="op-board-list"[ngClass]="{ '-action-list': board.isAction }"><ng-container *ngIf="query">@@ -39,6 +40,7 @@<button [title]="text.addCard"*ngIf="showAddButton"data-test-selector="op-board-list--card-dropdown-add-button"+ data-tour-selector="op-board-list--card-dropdown-add-button"class="op-board-list--add-button op-board-list--card-dropdown-button button"op-addCardDropdown><op-icon icon-classes="icon-small icon-add"></op-icon>diff --git a/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.html b/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.htmlindex 943bbe7a3e6..cb48a50aa6f 100644--- a/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.html+++ b/frontend/src/app/features/team-planner/team-planner/planner/team-planner.component.html@@ -11,6 +11,7 @@[ngClass]="{'-active': (showAddExistingPane | async)}"[title]="text.add_existing_title"data-test-selector="op-team-planner--add-existing-toggle"+ data-tour-selector="op-team-planner--add-existing-toggle"(click)="toggleAddExistingPane()"><op-icon icon-classes="icon-add button--icon"></op-icon><span@@ -44,6 +45,7 @@<divclass="op-team-planner--calendar-pane"data-test-selector="op-team-planner--calendar-pane"+ data-tour-selector="op-team-planner--calendar-pane"><ng-container*ngIf="(calendarOptions$ | async) as calendarOptions"@@ -149,6 +151,7 @@class="spot-link"(click)="showAssigneeAddRow()"data-test-selector="tp-assignee-add-button"+ data-tour-selector="tp-assignee-add-button"><span class="spot-icon spot-icon_user-plus"></span><span [textContent]="text.add_assignee"></span>diff --git a/frontend/src/app/features/work-packages/components/wp-card-view/wp-single-card/wp-single-card.component.html b/frontend/src/app/features/work-packages/components/wp-card-view/wp-single-card/wp-single-card.component.htmlindex 57a000ef47b..74e49037a06 100644--- a/frontend/src/app/features/work-packages/components/wp-card-view/wp-single-card/wp-single-card.component.html+++ b/frontend/src/app/features/work-packages/components/wp-card-view/wp-single-card/wp-single-card.component.html@@ -1,6 +1,7 @@<divclass="op-wp-single-card"data-test-selector="op-wp-single-card"+ data-tour-selector="op-wp-single-card"[attr.data-qa-draggable]="draggable || undefined"[attr.data-qa-selected]="selected || undefined"[ngClass]="cardClasses()"diff --git a/lib/redmine/menu_manager/menu_helper.rb b/lib/redmine/menu_manager/menu_helper.rbindex 5767efc8ea0..842087b135d 100644--- a/lib/redmine/menu_manager/menu_helper.rb+++ b/lib/redmine/menu_manager/menu_helper.rb@@ -200,19 +200,20 @@ module Redmine::MenuManager::MenuHelpercaption, url, = extract_node_details(node, project)content_tag(:div, class: 'main-menu--children-menu-header') do- concat render_children_back_up_link+ concat render_children_back_up_link(node)concat link_to(caption, url, class: 'main-menu--parent-node ellipsis')endend- def render_children_back_up_link+ def render_children_back_up_link(node)content_tag(:a,render(Primer::Beta::Octicon.new("arrow-left", size: :small)),title: I18n.t('js.label_up'),class: 'main-menu--arrow-left-to-project',data: {- action: 'menus--main#ascend'+ action: 'menus--main#ascend',+ 'tour-selector': "main-menu--arrow-left_#{node.name}"})enddiff --git a/modules/boards/spec/features/onboarding/boards_onboarding_tour_spec.rb b/modules/boards/spec/features/onboarding/boards_onboarding_tour_spec.rbindex 276ab98132a..04c8bd05108 100644--- a/modules/boards/spec/features/onboarding/boards_onboarding_tour_spec.rb+++ b/modules/boards/spec/features/onboarding/boards_onboarding_tour_spec.rb@@ -33,7 +33,6 @@ require_relative '../support/onboarding_steps'# the Angular change detection. This is usually done by the notification polling, but we don't want to waitRSpec.describe 'boards onboarding tour',:js,- skip: 'will only work when the tour is adapted to the new Gantt module',with_settings: { notifications_polling_interval: 1_000 } dolet(:next_button) { find('.enjoyhint_next_btn') }let(:user) do@@ -57,7 +56,7 @@ RSpec.describe 'boards onboarding tour',name: 'Demo project',identifier: 'demo-project',public: true,- enabled_module_names: %w[work_package_tracking wiki board_view])+ enabled_module_names: %w[work_package_tracking gantt wiki board_view])endlet!(:wp_1) { create(:work_package, project: demo_project) }diff --git a/modules/team_planner/spec/features/onboarding/team_planner_onboarding_tour_spec.rb b/modules/team_planner/spec/features/onboarding/team_planner_onboarding_tour_spec.rbindex 266d9e8c282..5f3359d9822 100644--- a/modules/team_planner/spec/features/onboarding/team_planner_onboarding_tour_spec.rb+++ b/modules/team_planner/spec/features/onboarding/team_planner_onboarding_tour_spec.rb@@ -32,7 +32,6 @@ require_relative '../../support/onboarding/onboarding_steps'RSpec.describe 'team planner onboarding tour',:js,with_cuprite: false,- skip: 'will only work when the tour is adapted to the new Gantt module',with_ee: %i[team_planner_view],# We decrease the notification polling interval because some portions# of the JS code rely on something triggering the Angular change detection.@@ -45,7 +44,7 @@ RSpec.describe 'team planner onboarding tour',name: 'Demo project',identifier: 'demo-project',public: true,- enabled_module_names: %w[work_package_tracking wiki team_planner_view])+ enabled_module_names: %w[work_package_tracking gantt wiki team_planner_view])endlet(:user) dodiff --git a/spec/features/onboarding/onboarding_tour_spec.rb b/spec/features/onboarding/onboarding_tour_spec.rbindex 7e8e5afe967..6a54d02b012 100644--- a/spec/features/onboarding/onboarding_tour_spec.rb+++ b/spec/features/onboarding/onboarding_tour_spec.rb@@ -29,21 +29,14 @@require 'spec_helper'RSpec.describe 'onboarding tour for new users',- :js,- skip: 'will only work when the tour is adapted to the new Gantt module' do+ :js dolet(:user) { create(:admin) }let(:project) docreate(:project, name: 'Demo project', identifier: 'demo-project', public: true,- enabled_module_names: %w[work_package_tracking wiki])+ enabled_module_names: %w[work_package_tracking gantt wiki])endlet(:project_link) { "<a href=/projects/#{project.identifier}> #{project.name} </a>" }- let(:scrum_project) do- create(:project, name: 'Scrum project', identifier: 'your-scrum-project', public: true,- enabled_module_names: %w[work_package_tracking])- end- let(:scrum_project_link) { "<a href=/projects/#{scrum_project.identifier}> #{scrum_project.name} </a>" }-let!(:wp1) { create(:work_package, project:) }let(:next_button) { find('.enjoyhint_next_btn') }@@ -84,9 +77,6 @@ RSpec.describe 'onboarding tour for new users',context 'when I skip the language selection' dobefore do- allow(Setting)- .to receive(:welcome_text)- .and_return(project_link + scrum_project_link)visit home_path first_time_user: trueend@@ -111,9 +101,6 @@ RSpec.describe 'onboarding tour for new users',context 'the tutorial starts' dobefore do- allow(Setting)- .to receive(:welcome_text)- .and_return(project_link + scrum_project_link)visit home_path first_time_user: trueselect 'English', from: 'user_language'diff --git a/spec/lib/redmine/menu_manager/menu_helper_spec.rb b/spec/lib/redmine/menu_manager/menu_helper_spec.rbindex 0ad255f35a7..941c1178080 100644--- a/spec/lib/redmine/menu_manager/menu_helper_spec.rb+++ b/spec/lib/redmine/menu_manager/menu_helper_spec.rb@@ -130,7 +130,7 @@ RSpec.describe Redmine::MenuManager::MenuHelper, type: :helper do</button></div><div class="main-menu--children-menu-header">- <a title="Up" class="main-menu--arrow-left-to-project" data-action="menus--main#ascend">+ <a title="Up" class="main-menu--arrow-left-to-project" data-action="menus--main#ascend" data-tour-selector="main-menu--arrow-left_parent_node"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-arrow-left"><path d="M7.78 12.53a.75.75 0 0 1-1.06 0L2.47 8.28a.75.75 0 0 1 0-1.06l4.25-4.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L4.81 7h7.44a.75.75 0 0 1 0 1.5H4.81l2.97 2.97a.75.75 0 0 1 0 1.06Z"></path></svg>@@ -226,7 +226,8 @@ RSpec.describe Redmine::MenuManager::MenuHelper, type: :helper do</div><div class="main-menu--children-menu-header"><a title="Up" class="main-menu--arrow-left-to-project"- data-action="menus--main#ascend">+ data-action="menus--main#ascend"+ data-tour-selector="main-menu--arrow-left_parent_node"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-arrow-left"><path d="M7.78 12.53a.75.75 0 0 1-1.06 0L2.47 8.28a.75.75 0 0 1 0-1.06l4.25-4.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L4.81 7h7.44a.75.75 0 0 1 0 1.5H4.81l2.97 2.97a.75.75 0 0 1 0 1.06Z"></path></svg>@@ -302,7 +303,7 @@ RSpec.describe Redmine::MenuManager::MenuHelper, type: :helper do</button></div><div class="main-menu--children-menu-header">- <a title="Up" class="main-menu--arrow-left-to-project" data-action="menus--main#ascend">+ <a title="Up" class="main-menu--arrow-left-to-project" data-action="menus--main#ascend" data-tour-selector="main-menu--arrow-left_parent_node"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-arrow-left"><path d="M7.78 12.53a.75.75 0 0 1-1.06 0L2.47 8.28a.75.75 0 0 1 0-1.06l4.25-4.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L4.81 7h7.44a.75.75 0 0 1 0 1.5H4.81l2.97 2.97a.75.75 0 0 1 0 1.06Z"></path></svg>@@ -326,7 +327,7 @@ RSpec.describe Redmine::MenuManager::MenuHelper, type: :helper do</button></div><div class="main-menu--children-menu-header">- <a title="Up" class="main-menu--arrow-left-to-project" data-action="menus--main#ascend">+ <a title="Up" class="main-menu--arrow-left-to-project" data-action="menus--main#ascend" data-tour-selector="main-menu--arrow-left_child_node"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-arrow-left"><path d="M7.78 12.53a.75.75 0 0 1-1.06 0L2.47 8.28a.75.75 0 0 1 0-1.06l4.25-4.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L4.81 7h7.44a.75.75 0 0 1 0 1.5H4.81l2.97 2.97a.75.75 0 0 1 0 1.06Z"></path></svg>@@ -345,7 +346,8 @@ RSpec.describe Redmine::MenuManager::MenuHelper, type: :helper do</ul><div class="main-menu--children-menu-header"><a title="Up" class="main-menu--arrow-left-to-project"- data-action="menus--main#ascend">+ data-action="menus--main#ascend"+ data-tour-selector="main-menu--arrow-left_parent_node"><svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-arrow-left"><path d="M7.78 12.53a.75.75 0 0 1-1.06 0L2.47 8.28a.75.75 0 0 1 0-1.06l4.25-4.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042L4.81 7h7.44a.75.75 0 0 1 0 1.5H4.81l2.97 2.97a.75.75 0 0 1 0 1.06Z"></path></svg>diff --git a/spec/support/onboarding_helper.rb b/spec/support/onboarding_helper.rbindex 335d3c3b4eb..87187a8416a 100644--- a/spec/support/onboarding_helper.rb+++ b/spec/support/onboarding_helper.rb@@ -44,7 +44,7 @@ module OnboardingHelperexpect(page).to have_text sanitize_string(I18n.t('js.onboarding.steps.wp.create_button')), normalize_ws: truenext_button.click- expect(page).to have_text sanitize_string(I18n.t('js.onboarding.steps.wp.timeline_button')), normalize_ws: true+ expect(page).to have_text sanitize_string(I18n.t('js.onboarding.steps.wp.gantt_menu')), normalize_ws: truenext_button.clickexpect(page).to have_text sanitize_string(I18n.t('js.onboarding.steps.wp.timeline')), normalize_ws: true