From 37d1d9f277afd2faded4c67517ca4d82ca9714dc Mon Sep 17 00:00:00 2001 From: Matt Blenkinsop Date: Fri, 18 Oct 2024 14:50:10 +0000 Subject: [PATCH] Bug 38207: Update cypress tests (cherry picked from commit 61bcde708a970d1bca07e4a803ae5dfe78c16c89) Signed-off-by: David Nind --- t/cypress/integration/Acquisitions/Vendors_spec.ts | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/t/cypress/integration/Acquisitions/Vendors_spec.ts b/t/cypress/integration/Acquisitions/Vendors_spec.ts index 7935d40d4f..141e2e59b0 100644 --- a/t/cypress/integration/Acquisitions/Vendors_spec.ts +++ b/t/cypress/integration/Acquisitions/Vendors_spec.ts @@ -49,6 +49,7 @@ const getVendor = () => { list_includes_gst: false, name: "My Vendor", notes: "Sample vendor", + payment_method: "card", phone: "555-555-5555", postal: "567 Main St. PO Box 25 Springfield, MA 44224", subscriptions: [], @@ -133,6 +134,12 @@ describe("Vendor CRUD operations", () => { force: true, } ); + cy.get("#payment_method .vs__search").type( + vendor.payment_method + "{enter}", + { + force: true, + } + ); cy.get("#gst_yes").check(); cy.get("#tax_rate .vs__search").type( `${(vendor.tax_rate * 100).toFixed(2)}` + "{enter}", -- 2.39.5