This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Automating Stripe card testing with cypress is pretty easy (especially with 'cypress-plugin-stripe-elements') | |
but SCA/3DS testing really isn't. | |
When using a SCA/3DS test card, to simulate the approve/denial Stripe fires what appears to be a modal, however | |
it's actually an iFrame, within an iFrame within an iFrame that shows in a lightbox. | |
The innermost iFrame is very difficult to generate with because of how it's rendered (even when you've managed | |
to find and scope into each one), however the source URL can be browsed to. |