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}`); }