Skip to content

Open source, composable payments platform | PCI compliant | SaaS and Self-host options | Enables connectivity to multiple payment, payout, fraud, vault and tokenization providers | Uplifts authorization with intelligent routing and revenue recovery | Reduce payment processing costs with cost observability | Reduces payment ops with reconciliation

fix(cypress): fix hooks in cypress for 3ds (#5617)

Pa1NarKd43648b9f5f8
diff --git a/cypress-tests/cypress/e2e/PaymentTest/00020-Variations.cy.js b/cypress-tests/cypress/e2e/PaymentTest/00020-Variations.cy.js
index b96121a052..a00a2e39f9 100644
--- a/cypress-tests/cypress/e2e/PaymentTest/00020-Variations.cy.js
+++ b/cypress-tests/cypress/e2e/PaymentTest/00020-Variations.cy.js
@@ -482,7 +482,7 @@ describe("Corner cases", () => {
});
});
- after("flush global state", () => {
+ afterEach("flush global state", () => {
cy.task("setGlobalState", globalState.data);
});