19.0 vanilla

This commit is contained in:
Ernad Husremovic 2026-03-09 09:29:53 +01:00
parent 6e54c1af6c
commit 3ca647e428
1087 changed files with 132065 additions and 108499 deletions

View file

@ -0,0 +1,30 @@
/** @odoo-module */
import * as ProductScreen from "@point_of_sale/../tests/pos/tours/utils/product_screen_util";
import * as PaymentScreen from "@point_of_sale/../tests/pos/tours/utils/payment_screen_util";
import * as ReceiptScreen from "@point_of_sale/../tests/pos/tours/utils/receipt_screen_util";
import * as Dialog from "@point_of_sale/../tests/generic_helpers/dialog_util";
import * as Chrome from "@point_of_sale/../tests/pos/tours/utils/chrome_util";
import { waitForLoading } from "@point_of_sale/../tests/pos/tours/utils/common";
import { registry } from "@web/core/registry";
registry.category("web_tour.tours").add("test_ship_later_kit_and_mto_manufactured_product", {
steps: () =>
[
waitForLoading(),
Chrome.startPoS(),
Dialog.confirm("Open Register"),
ProductScreen.clickInfoProduct("Finished", [Dialog.confirm("Close")]),
Dialog.isNot(),
ProductScreen.clickInfoProduct("Basic Kit", [Dialog.confirm("Close")]),
Dialog.isNot(),
ProductScreen.clickPartnerButton(),
ProductScreen.clickCustomer("AAAA Super Customer"),
ProductScreen.clickPayButton(),
PaymentScreen.clickPaymentMethod("Cash"),
PaymentScreen.clickShipLaterButton(),
PaymentScreen.shippingLaterHighlighted(),
PaymentScreen.clickValidate(),
ReceiptScreen.receiptIsThere(),
].flat(),
});