chore: run pml independently (#5604)

This commit is contained in:
Pa1NarK
2024-08-13 16:26:15 +05:30
committed by GitHub
parent e757605fdc
commit f5b2eec015
2 changed files with 2 additions and 1 deletions

View File

@ -1250,7 +1250,7 @@ Cypress.Commands.add(
"saveCardConfirmCallTest", "saveCardConfirmCallTest",
(saveCardConfirmBody, req_data, res_data, globalState) => { (saveCardConfirmBody, req_data, res_data, globalState) => {
const paymentIntentID = globalState.get("paymentID"); 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.card_cvc = req_data.payment_method_data.card.card_cvc;
} }
saveCardConfirmBody.payment_token = globalState.get("paymentToken"); saveCardConfirmBody.payment_token = globalState.get("paymentToken");

View File

@ -9,6 +9,7 @@
"cypress:ci": "npx cypress run --headless", "cypress:ci": "npx cypress run --headless",
"cypress:payments": "cypress run --headless --spec 'cypress/e2e/PaymentTest/**/*'", "cypress:payments": "cypress run --headless --spec 'cypress/e2e/PaymentTest/**/*'",
"cypress:payouts": "cypress run --headless --spec 'cypress/e2e/PayoutTest/**/*'", "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/**/*'" "cypress:routing": "cypress run --headless --spec 'cypress/e2e/RoutingTest/**/*'"
}, },
"author": "", "author": "",