Skip to content

Commit e9284e6

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
1 parent f1b1fa0 commit e9284e6

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)