Skip to content

Commit 1e69f20

Browse files
committed
[FIX] theme_test_custo: fix website_theme_preview tour
Issue: `website_theme_preview` tour was failing on steps that trigger a page unload because `expectUnloadPage: true` was not set. Fix: Added `expectUnloadPage: true` to the steps that trigger a page unload, ensuring the tour no longer fails. runbot-232988 closes #1183 X-original-commit: d660781 Signed-off-by: Francois Georis (fge) <[email protected]> Signed-off-by: Jay Panchal (panj) <[email protected]>
1 parent 5274caf commit 1e69f20

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

theme_test_custo/static/tests/tours/website_theme_preview.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ registry.category("web_tour.tours").add("website_theme_preview", {
1515
content: "Validate the website creation modal",
1616
trigger: ".modal button.btn-primary",
1717
run: "click",
18+
expectUnloadPage: true,
1819
},
1920
// Configurator first screen
2021
{

0 commit comments

Comments
 (0)