Skip to content

Commit 61b19da

Browse files
committed
[FIX] website: fix typo in snippets_all_drag_and_drop test
The test was introduced in [1] with a typo on the first step (which is only there to ensure the test does contain steps). [1]: odoo@460d5ec closes odoo#94136 Signed-off-by: Quentin Smetz (qsm) <[email protected]>
1 parent 03caf3e commit 61b19da

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

addons/website/static/tests/tours/snippets_all_drag_and_drop.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ tour.register("snippets_all_drag_and_drop", {
6767
// safety check, otherwise the test might "break" one day and
6868
// receive no steps. The test would then not test anything anymore
6969
// without us noticing it.
70-
if (steps.lenth < 280) {
70+
if (steps.length < 280) {
7171
console.error("This test is not behaving as it should.");
7272
}
7373
},

0 commit comments

Comments
 (0)