From f5b2eec015bce088ed666960228769b40d76b2c0 Mon Sep 17 00:00:00 2001 From: Pa1NarK <69745008+pixincreate@users.noreply.github.com> Date: Tue, 13 Aug 2024 16:26:15 +0530 Subject: [PATCH] chore: run pml independently (#5604) --- cypress-tests/cypress/support/commands.js | 2 +- cypress-tests/package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cypress-tests/cypress/support/commands.js b/cypress-tests/cypress/support/commands.js index 62c70b98b9..bc23934efc 100644 --- a/cypress-tests/cypress/support/commands.js +++ b/cypress-tests/cypress/support/commands.js @@ -1250,7 +1250,7 @@ Cypress.Commands.add( "saveCardConfirmCallTest", (saveCardConfirmBody, req_data, res_data, globalState) => { const paymentIntentID = globalState.get("paymentID"); - if (req_data.setup_future_usage === "on_session"){ + if (req_data.setup_future_usage === "on_session") { saveCardConfirmBody.card_cvc = req_data.payment_method_data.card.card_cvc; } saveCardConfirmBody.payment_token = globalState.get("paymentToken"); diff --git a/cypress-tests/package.json b/cypress-tests/package.json index 0b67f122d8..b0eb327f71 100644 --- a/cypress-tests/package.json +++ b/cypress-tests/package.json @@ -9,6 +9,7 @@ "cypress:ci": "npx cypress run --headless", "cypress:payments": "cypress run --headless --spec 'cypress/e2e/PaymentTest/**/*'", "cypress:payouts": "cypress run --headless --spec 'cypress/e2e/PayoutTest/**/*'", + "cypress:payment-method-list": "cypress run --headless --spec 'cypress/e2e/PaymentMethodListTest/**/*'", "cypress:routing": "cypress run --headless --spec 'cypress/e2e/RoutingTest/**/*'" }, "author": "",