[FIX] website: properly flag website test tours as test tours

Commit [1] and [2] introduced test tours but did not mark them as test
tours properly, thus showing them to users (who are in debug=tests mode)
by mistake.

Note that [2] was silently fixed in the 16.0 forward-ported version...
that is why nothing shows up in this diff starting from 16.0.

[1]: https://github.com/odoo/odoo/commit/7655bface7f9e9bae8579e14e9a87b4f4801cc33
[2]: https://github.com/odoo/odoo/commit/a0c33c5f896718d1c03a6a50c981d6d75ce0d169

closes odoo/odoo#106755

X-original-commit: 101d83d483a329644d2d6afa8757a3e6d8a6bfb9
Signed-off-by: Quentin Smetz (qsm) <qsm@odoo.com>
This commit is contained in:
qsm-odoo
2022-11-29 11:33:57 +01:00
parent 99a6951f43
commit 91435ba499
@@ -51,6 +51,7 @@ function clickAndCheck(blockID, expected) {
window.focusBlurSnippetsResult = [];
tour.register('focus_blur_snippets', {
test: true,
url: '/?enable_editor=1',
}, [
{