[FIX] test_website_modules: fix configurator_flow

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) <xdo@odoo.com>
This commit is contained in:
Xavier-Do
2023-05-11 10:41:06 +02:00
parent ec0381ddd3
commit 5a6ff3d85c
@@ -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.`);
}
}