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 513a9a5d182..d39ff4881ff 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 @@ -67,8 +67,8 @@ 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.lenth < 280) { - console.error("This test is not behaving as it should."); + if (steps.length < 270) { + console.error(`This test is not behaving as it should, got only ${steps.length} steps.`); } }, },