From 5a6ff3d85cd4837c90d270fb50a3873c35048c35 Mon Sep 17 00:00:00 2001 From: Xavier-Do Date: Thu, 4 May 2023 22:24:08 +0000 Subject: [PATCH] [FIX] test_website_modules: fix configurator_flow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit For a strange reason, some bug where revealed in this tour with this pull request. closes odoo/odoo#121103 Signed-off-by: Xavier Dollé (xdo) --- .../static/tests/tours/configurator_flow.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/test_website_modules/static/tests/tours/configurator_flow.js b/addons/test_website_modules/static/tests/tours/configurator_flow.js index 9bcc1f4b46b..cd363f6d129 100644 --- a/addons/test_website_modules/static/tests/tours/configurator_flow.js +++ b/addons/test_website_modules/static/tests/tours/configurator_flow.js @@ -16,7 +16,7 @@ registry.category("web_tour.tours").add('configurator_flow', { run: 'text Website Test', }, { content: "validate the website creation modal", - trigger: 'button.btn-primary', + trigger: 'button.btn-primary:contains("Create")', }, // Configurator first screen { @@ -88,7 +88,7 @@ registry.category("web_tour.tours").add('configurator_flow', { } } for (const url of ['/', '/event', '/slides', '/pricing', '/blog/', '/blog/', '/contactus']) { - if (!$iframe.contents().find(`#top_menu a[href^='${url}'`).length) { + if (!$iframe.contents().find(`#top_menu a[href^='${url}']`).length) { console.error(`Missing ${url} menu URL. It should have been created by the configurator.`); } }