From e038121d3c6fe887181d08e14d231260ef7d6094 Mon Sep 17 00:00:00 2001
From: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>
Date: Fri, 18 Oct 2024 14:50:10 +0000
Subject: [PATCH] Bug 38207: Update cypress tests

(cherry picked from commit 61bcde708a970d1bca07e4a803ae5dfe78c16c89)
---
 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 482c1633f5f..f6b68625907 100644
--- a/t/cypress/integration/Acquisitions/Vendors_spec.ts
+++ b/t/cypress/integration/Acquisitions/Vendors_spec.ts
@@ -47,6 +47,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: [],
@@ -131,6 +132,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.3 (Apple Git-146)