Files
hyperswitch/cypress-tests/cypress/e2e/PaymentTest/00002-ConnectorCreate.cy.js

20 lines
541 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);
});
});
after("flush global state", () => {
cy.task("setGlobalState", globalState.data);
});
it("connector-create-call-test", () => {
cy.createConnectorCallTest(createConnectorBody, globalState);
});
});