From 680eaeff508cb413d78f575f3ad3c5cfc06b2855 Mon Sep 17 00:00:00 2001 From: Joseph Caburnay Date: Wed, 22 Nov 2023 16:41:29 +0100 Subject: [PATCH] [FIX] pos_sale: runbot error 45368 (PosSettleOrderNotGroupable tour) In this commit, we fix the last step of the PosSettleOrderNotGroupable tour which is deterministically failing in runbot. closes odoo/odoo#143229 Signed-off-by: Christophe Monniez (moc) --- .../static/tests/tours/helpers/ProductScreenTourMethods.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/addons/point_of_sale/static/tests/tours/helpers/ProductScreenTourMethods.js b/addons/point_of_sale/static/tests/tours/helpers/ProductScreenTourMethods.js index 02a082c8954..37d6a6cdb41 100644 --- a/addons/point_of_sale/static/tests/tours/helpers/ProductScreenTourMethods.js +++ b/addons/point_of_sale/static/tests/tours/helpers/ProductScreenTourMethods.js @@ -417,9 +417,9 @@ export function checkOrderlinesNumber(number) { return [ { content: `check orderlines number`, - trigger: `.order .orderlines .orderline`, + trigger: `.order-container .orderline`, run: () => { - const orderline_amount = $('.order .orderlines .orderline').length; + const orderline_amount = $(".order-container .orderline").length; if (orderline_amount !== number) { throw new Error(`Expected ${number} orderlines, got ${orderline_amount}`); }