diff --git a/addons/website/static/tests/tours/snippets_all_drag_and_drop.js b/addons/website/static/tests/tours/snippets_all_drag_and_drop.js index ea2c6dfbf4e..5698712831b 100644 --- a/addons/website/static/tests/tours/snippets_all_drag_and_drop.js +++ b/addons/website/static/tests/tours/snippets_all_drag_and_drop.js @@ -74,6 +74,9 @@ for (const snippet of snippetsNames) { tour.register("snippets_all_drag_and_drop", { test: true, + // To run the tour locally, you need to insert the URL sent by the python + // tour here. There is currently an issue with tours which don't have an URL + // url: '/?enable_editor=1&snippets_names=s_showcase,s_numbers,s_...', }, [ websiteTourUtils.clickOnEdit(), { @@ -83,7 +86,7 @@ tour.register("snippets_all_drag_and_drop", { // safety check, otherwise the test might "break" one day and // receive no steps. The test would then not test anything anymore // without us noticing it. - if (steps.length < 270) { + if (steps.length < 220) { console.error(`This test is not behaving as it should, got only ${steps.length} steps.`); } patchWysiwygAdapter();