Please provide the corresponding diff so I can generate an appropriate commit message.
This commit is contained in:
@@ -544,11 +544,29 @@ test.describe("POS visuals", () => {
|
||||
test("desktop step 3 guest stripe action order", async ({ page }, testInfo) => {
|
||||
test.skip(!testInfo.project.name.includes("desktop"), "Desktop only");
|
||||
|
||||
const guestStripeCustomer = {
|
||||
id: 2,
|
||||
customerNumber: 999,
|
||||
name: "Card Terminal Customer",
|
||||
address: "Terminal Street 9",
|
||||
zip: "2630",
|
||||
city: "Taastrup",
|
||||
mobilePhone: "87654321",
|
||||
email: "card@example.com",
|
||||
corporateIdentificationNumber: "99999999",
|
||||
economic_customer: 999,
|
||||
barred: false,
|
||||
};
|
||||
|
||||
await mockApi(page, {
|
||||
authenticated: true,
|
||||
permissions: POS_PERMISSIONS,
|
||||
edgeGateways: false,
|
||||
pos: createPosFixture({
|
||||
customersByNumber: {
|
||||
999: guestStripeCustomer,
|
||||
12345679: guestStripeCustomer,
|
||||
},
|
||||
ordersById: {
|
||||
54518: {
|
||||
id: 54518,
|
||||
|
||||
Reference in New Issue
Block a user