mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-11-02 21:07:58 +08:00
21 lines
514 B
JavaScript
21 lines
514 B
JavaScript
import * as fixtures from "../../fixtures/imports";
|
|
import State from "../../utils/State";
|
|
|
|
let globalState;
|
|
|
|
describe("Customer Create flow test", () => {
|
|
before("seed global state", () => {
|
|
cy.task("getGlobalState").then((state) => {
|
|
globalState = new State(state);
|
|
});
|
|
});
|
|
|
|
after("flush global state", () => {
|
|
cy.task("setGlobalState", globalState.data);
|
|
});
|
|
|
|
it("customer-create-call-test", () => {
|
|
cy.createCustomerCallTest(fixtures.customerCreateBody, globalState);
|
|
});
|
|
});
|