Debian Codegraph @

addons/point_of_sale/static/tests/pos/tours/fake_tours.js

raw symbols SCIP
1 import { registry } from "@web/core/registry";
2 import * as ProductScreen from "@point_of_sale/../tests/pos/tours/utils/product_screen_util";
3 import * as PaymentScreen from "@point_of_sale/../tests/pos/tours/utils/payment_screen_util";
4 import * as ReceiptScreen from "@point_of_sale/../tests/pos/tours/utils/receipt_screen_util";
5
6 registry.category("web_tour.tours").add("PoSFakeTourSimpleOrder", {
7 steps: () =>
8 [
9 ProductScreen.clickDisplayedProduct("Desk Pad"),
10 ProductScreen.clickPayButton(),
11 PaymentScreen.clickPaymentMethod("Cash"),
12 PaymentScreen.clickValidate(),
13 ReceiptScreen.clickNextOrder(),
14 ].flat(),
15 });