Debian Codegraph @

addons/pos_loyalty/static/tests/tours/loyalty_history_tour.js

raw symbols SCIP
1 import * as PosLoyalty from "@pos_loyalty/../tests/tours/utils/pos_loyalty_util";
2 import * as ProductScreen from "@point_of_sale/../tests/pos/tours/utils/product_screen_util";
3 import * as Chrome from "@point_of_sale/../tests/pos/tours/utils/chrome_util";
4 import * as Dialog from "@point_of_sale/../tests/generic_helpers/dialog_util";
5 import { registry } from "@web/core/registry";
6
7 registry.category("web_tour.tours").add("LoyaltyHistoryTour", {
8 steps: () =>
9 [
10 Chrome.startPoS(),
11 Dialog.confirm("Open Register"),
12 ProductScreen.addOrderline("Whiteboard Pen", "1"),
13 ProductScreen.clickPartnerButton(),
14 ProductScreen.clickCustomer("AAA Test Partner"),
15 PosLoyalty.orderTotalIs("10"),
16
17 PosLoyalty.finalizeOrder("Cash", "10"),
18 ].flat(),
19 });