test: add e2e test for card payment for Adyen connector successful flow
Type of Change
- [ ] Bugfix
- [x] New feature
- [ ] Enhancement
- [ ] Refactoring
- [ ] Dependency updates
- [ ] Documentation
- [ ] CI/CD
Description
Closes: hyperswitch/issues/6082
- Added command
getIframeElementascy.iframeas it can only be applied to exactly one iframe at a time edit: usingcy.iframesee comment #issuecomment-2436324828 - Added e2e test cases for successful card payment for the Adyen connector
How did you test it?
Checklist
- [x] I ran
npm run re:build - [x] I reviewed submitted code
- [ ] I added unit tests for my changes where possible
Changed Files
| File | Status |
|---|---|
@Sanskar2001 please review
I wanna highlight one thing previously I used get because cy.iframe sometimes gives error with iframe selector .adyen-checkout__iframe, I could not find out any specific reason for it but with iframe selector .adyen-checkout__iframe--threeDSIframe it is working fine. I have made the necessary changes.
@Sanskar2001 @seekshiva please look at it, thank you!
Error while using .adyen-checkout__iframe
I will look requested changes in a few days.
@Sanskar2001 can you please respond to my comments, I wanna close this PR soon
@Sanskar2001 can you please respond to my comments, I wanna close this PR soon
Hey @shubhamchasing, your task involved testing a normal card payment i.e. no 3DS flow meaning you don't have to test the redirection flow to Adyen Simulator. This task is assigned to someone else.
Could you please resolve the comments and take a pull from main, so that we can proceed?
Thanks!
@Sanskar2001 is there any issue from the backend because I am getting 403 error, I also tried new creds too but issue persit
@Sanskar2001 is there any issue from the backend because I am getting
403error, I also tried new creds too but issue persit
@shubhamchasing Yes, there is some maintenance going on. Please try again in some time.
@Sanskar2001 is there any issue from the backend because I am getting
403error, I also tried new creds too but issue persit@shubhamchasing Yes, there is some maintenance going on. Please try again in some time.
@shubhamchasing The maintenance is over. You can start working on it now.
@Sanskar2001 please review
@Sanskar2001 @seekshiva hey guys please review
Requested changes are done
Hey guys @Sanskar2001 @seekshiva, I understand you guys must be busy and dealing with a lot of stuff but can you please take a moment to review this PR again? Apologies if it seems like spam but in good spirit of Open Source Contribution I like to make sure whatever contribution I make should reach its goal.
Hi @PritishBudhiraja can you please take a look at this PR
Conflicts needs to be resolved. Closing this PR till then