From d45ce39b2904bcb4335f74fab3c42f3eebf477d5 Mon Sep 17 00:00:00 2001
From: Younn Olivier <yol@odoo.com>
Date: Tue, 18 Oct 2022 13:01:16 +0000
Subject: [PATCH] [FIX] website: fix the homepage tour

Before this commit, the website homepage tour was starting with an
unresolvable "Wait for the editor to be started", useful only for tests.

This commit removes that technical step for user tours.

task-3035156

Part-of: odoo/odoo#104039
Co-authored-by: qsm-odoo <qsm@odoo.com>
---
 addons/website/static/src/js/tours/tour_utils.js | 1 +
 1 file changed, 1 insertion(+)

diff --git a/addons/website/static/src/js/tours/tour_utils.js b/addons/website/static/src/js/tours/tour_utils.js
index cf2263fe7844..375163c41312 100644
--- a/addons/website/static/src/js/tours/tour_utils.js
+++ b/addons/website/static/src/js/tours/tour_utils.js
@@ -327,6 +327,7 @@ function registerWebsitePreviewTour(name, options, steps) {
             content: "Wait for the edit mode to be started",
             trigger: '.o_website_preview.editor_enable.editor_has_snippets',
             timeout: 30000,
+            auto: true,
             run: () => {}, // It's a check
         });
     } else {
-- 
GitLab