mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
22 lines
698 B
JavaScript
22 lines
698 B
JavaScript
import createConnectorBody from "../../fixtures/create-connector-body.json";
|
|
import State from "../../utils/State";
|
|
|
|
let globalState;
|
|
describe("Connector Account Create flow test", () => {
|
|
before("seed global state", () => {
|
|
cy.task("getGlobalState").then((state) => {
|
|
globalState = new State(state);
|
|
console.log("seeding globalState -> " + JSON.stringify(globalState));
|
|
});
|
|
});
|
|
|
|
after("flush global state", () => {
|
|
console.log("flushing globalState -> " + JSON.stringify(globalState));
|
|
cy.task("setGlobalState", globalState.data);
|
|
});
|
|
|
|
it("connector-create-call-test", () => {
|
|
cy.createPayoutConnectorCallTest(createConnectorBody, globalState);
|
|
});
|
|
});
|