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
Rust adyenbeginner-friendlyfeaturedfinancefintechhacktoberfesthigh-performanceopen-sourceorchestrationpaymentpayment-gatewaypayment-integrationpayment-processingpaymentspayments-platformrestful-apirustsdkstripeworks-with-react
test(cypress): remove duplicate wallet spec 00041 (#11468)
Ayush Anand747ed7e459d1
diff --git a/cypress-tests/cypress/e2e/spec/Payment/00038-CryptoPayment.cy.js b/cypress-tests/cypress/e2e/spec/Payment/00039-CryptoPayment.cy.jssimilarity index 100%rename from cypress-tests/cypress/e2e/spec/Payment/00038-CryptoPayment.cy.jsrename to cypress-tests/cypress/e2e/spec/Payment/00039-CryptoPayment.cy.jsdiff --git a/cypress-tests/cypress/e2e/spec/Payment/00039-DynamicFields.cy.js b/cypress-tests/cypress/e2e/spec/Payment/00040-DynamicFields.cy.jssimilarity index 100%rename from cypress-tests/cypress/e2e/spec/Payment/00039-DynamicFields.cy.jsrename to cypress-tests/cypress/e2e/spec/Payment/00040-DynamicFields.cy.jsdiff --git a/cypress-tests/cypress/e2e/spec/Payment/00040-PaymentWebhookFixture.cy.js b/cypress-tests/cypress/e2e/spec/Payment/00041-PaymentWebhookFixture.cy.jssimilarity index 100%rename from cypress-tests/cypress/e2e/spec/Payment/00040-PaymentWebhookFixture.cy.jsrename to cypress-tests/cypress/e2e/spec/Payment/00041-PaymentWebhookFixture.cy.jsdiff --git a/cypress-tests/cypress/e2e/spec/Payment/00041-Wallet.cy.js b/cypress-tests/cypress/e2e/spec/Payment/00041-Wallet.cy.jsdeleted file mode 100644index 699d9579c0..0000000000--- a/cypress-tests/cypress/e2e/spec/Payment/00041-Wallet.cy.js+++ /dev/null@@ -1,90 +0,0 @@-import * as fixtures from "../../../fixtures/imports";-import State from "../../../utils/State";-import getConnectorDetails, * as utils from "../../configs/Payment/Utils";--let globalState;--describe("Wallet tests", () => {- afterEach("flush global state", () => {- cy.task("setGlobalState", globalState.data);- });-- context("Bluecode Create and Confirm flow test", () => {- let shouldContinue = true;-- before("seed global state", () => {- cy.task("getGlobalState").then((state) => {- globalState = new State(state);- });- });-- beforeEach(function () {- if (!shouldContinue) {- this.skip();- }- });-- it("create-payment-call-test", () => {- const data = getConnectorDetails(globalState.get("connectorId"))[- "wallet_pm"- ]["PaymentIntent"]("Bluecode");-- cy.createPaymentIntentTest(- fixtures.createPaymentBody,- data,- "three_ds",- "automatic",- globalState- );- if (shouldContinue) shouldContinue = utils.should_continue_further(data);- });-- it("payment_methods-call-test", () => {- cy.paymentMethodsCallTest(globalState);- });-- it("Confirm wallet redirect", () => {- const data = getConnectorDetails(globalState.get("connectorId"))[- "wallet_pm"- ]["Bluecode"];-- cy.confirmBankRedirectCallTest(- fixtures.confirmBody,- data,- true,- globalState- );-- if (shouldContinue) shouldContinue = utils.should_continue_further(data);- });-- it("Handle wallet redirection", () => {- const expected_redirection = fixtures.confirmBody["return_url"];- const payment_method_type = globalState.get("paymentMethodType");- const nextActionUrl = globalState.get("nextActionUrl");-- expect(- nextActionUrl,- "nextActionUrl should be defined before handling wallet redirection"- ).to.be.a("string");-- cy.handleWalletRedirection(- globalState,- payment_method_type,- expected_redirection- );- });-- it("Sync payment status", () => {- const data = getConnectorDetails(globalState.get("connectorId"))[- "wallet_pm"- ]["Bluecode"];-- cy.retrievePaymentCallTest({- globalState,- data,- expectedIntentStatus: "requires_customer_action",- });- });- });-});