View | Details | Raw Unified | Return to bug 38207
Collapse All | Expand All

(-)a/t/cypress/integration/Acquisitions/Vendors_spec.ts (-1 / +7 lines)
Lines 49-54 const getVendor = () => { Link Here
49
        list_includes_gst: false,
49
        list_includes_gst: false,
50
        name: "My Vendor",
50
        name: "My Vendor",
51
        notes: "Sample vendor",
51
        notes: "Sample vendor",
52
        payment_method: "card",
52
        phone: "555-555-5555",
53
        phone: "555-555-5555",
53
        postal: "567 Main St. PO Box 25 Springfield, MA 44224",
54
        postal: "567 Main St. PO Box 25 Springfield, MA 44224",
54
        subscriptions: [],
55
        subscriptions: [],
Lines 133-138 describe("Vendor CRUD operations", () => { Link Here
133
                force: true,
134
                force: true,
134
            }
135
            }
135
        );
136
        );
137
        cy.get("#payment_method .vs__search").type(
138
            vendor.payment_method + "{enter}",
139
            {
140
                force: true,
141
            }
142
        );
136
        cy.get("#gst_yes").check();
143
        cy.get("#gst_yes").check();
137
        cy.get("#tax_rate .vs__search").type(
144
        cy.get("#tax_rate .vs__search").type(
138
            `${(vendor.tax_rate * 100).toFixed(2)}` + "{enter}",
145
            `${(vendor.tax_rate * 100).toFixed(2)}` + "{enter}",
139
- 

Return to bug 38207