From 870c439737521610ae5a032c085b2f91696efeee Mon Sep 17 00:00:00 2001 From: qsm-odoo Date: Wed, 24 Nov 2021 17:47:21 +0000 Subject: [PATCH] [FIX] website: properly mark carousel test tour as a test tour Commit [1] and its forward-ports introduced a test tour (properly added in assets_tests) but was not declared as a test one. Meaning that if you were in debug=tests, you were able to follow a strange tour not meant for user testing. [1]: https://github.com/odoo/odoo/commit/3c194faa930b0d3a537ca8b893b2c0442b5464e7 closes odoo/odoo#80362 X-original-commit: 732addec9452813a404823f28703d54d37a6b87f Signed-off-by: Quentin Smetz (qsm) --- addons/website/static/tests/tours/carousel_content_removal.js | 1 + 1 file changed, 1 insertion(+) diff --git a/addons/website/static/tests/tours/carousel_content_removal.js b/addons/website/static/tests/tours/carousel_content_removal.js index 1c7d3cff8a0..2b90fff3ca7 100644 --- a/addons/website/static/tests/tours/carousel_content_removal.js +++ b/addons/website/static/tests/tours/carousel_content_removal.js @@ -3,6 +3,7 @@ import tour from 'web_tour.tour'; tour.register("carousel_content_removal", { + test: true, url: "/", }, [{ trigger: "a[data-action=edit]",