hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

ci(cypress): verify `payment_method_status` for respective attempt status

Open pixincreate opened this issue 10 months ago • 1 comments

Type of Change

  • [ ] Bugfix
  • [ ] New feature
  • [x] Enhancement
  • [ ] Refactoring
  • [ ] Dependency updates
  • [ ] Documentation
  • [x] CI/CD

Description

This PR adds additional validation for existing tests to check the payment method status.

Additional Changes

  • [ ] This PR modifies the API contract
  • [ ] This PR modifies the database schema
  • [ ] This PR modifies application configuration/environment variables

Motivation and Context

https://github.com/juspay/hyperswitch/pull/5557

How did you test it?

ci should pass.

Checklist

  • [x] I formatted the code npm run format
  • [x] I addressed lints thrown by npm run lint
  • [x] I reviewed the submitted code
  • [ ] I added unit tests for my changes where possible

pixincreate avatar Mar 12 '25 10:03 pixincreate

Review changes with  SemanticDiff

Changed Files
File Status
  cypress-tests/package-lock.json  60% smaller
  cypress-tests/cypress/e2e/configs/Payment/Adyen.js  0% smaller
  cypress-tests/cypress/e2e/configs/Payment/Fiuu.js  0% smaller
  cypress-tests/cypress/e2e/configs/Payment/Novalnet.js  0% smaller
  cypress-tests/cypress/e2e/configs/Payment/WorldPay.js  0% smaller
  cypress-tests/cypress/e2e/spec/Payment/00014-SaveCardFlow.cy.js  0% smaller
  cypress-tests/cypress/e2e/spec/Payment/00015-ZeroAuthMandate.cy.js  0% smaller
  cypress-tests/cypress/e2e/spec/Payment/00018-BankRedirect.cy.js  0% smaller
  cypress-tests/cypress/e2e/spec/Payment/00019-MandatesUsingPMID.cy.js  0% smaller
  cypress-tests/cypress/e2e/spec/Routing/00001-VolumeBasedRouting.cy.js  0% smaller
  cypress-tests/cypress/e2e/spec/Routing/00002-RuleBasedRouting.cy.js  0% smaller
  cypress-tests/cypress/fixtures/confirm-body.json  0% smaller
  cypress-tests/cypress/fixtures/create-confirm-body.json  0% smaller
  cypress-tests/cypress/fixtures/create-mandate-cit.json  0% smaller
  cypress-tests/cypress/fixtures/create-ntid-mit.json  0% smaller
  cypress-tests/cypress/fixtures/create-pm-id-mit.json  0% smaller
  cypress-tests/cypress/fixtures/merchant-create-body.json  0% smaller
  cypress-tests/cypress/fixtures/merchant-update-body.json  0% smaller
  cypress-tests/cypress/support/commands.js  0% smaller
  cypress-tests/package.json  0% smaller

semanticdiff-com[bot] avatar Mar 12 '25 10:03 semanticdiff-com[bot]