hyperswitch icon indicating copy to clipboard operation
hyperswitch copied to clipboard

refactor(cypress): fix adyen ideal bank redirect and refactor `handleFlow`

Open pixincreate opened this issue 8 months ago • 1 comments

Type of Change

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

Description

This PR fixes adyen ideal bank redirect and also refactor handle flow function to simplify the complexity to work with.

Additional Changes

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

Motivation and Context

fixes ideal bank redirect for adyen.

How did you test it?

by running the test for adyen:

image

ci should pass.

Checklist

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

pixincreate avatar Apr 17 '25 12:04 pixincreate

Review changes with  SemanticDiff

Changed Files
File Status
  cypress-tests/cypress/support/redirectionHandler.js  65% smaller

semanticdiff-com[bot] avatar Apr 17 '25 12:04 semanticdiff-com[bot]