dbalatero / cypress-plugin-stripe-elements

A small Cypress plugin that assists you in filling in Stripe Elements inputs
MIT License
37 stars 5 forks source link

Update plugin to be compatible with Cypress 10 #13

Open admah opened 2 years ago

admah commented 2 years ago

Hello 👋 I'm writing on behalf of the Cypress DX team. We wanted to notify you that some changes may need to be made to this plugin to ensure that it works in Cypress 10.

For more information, here is our official plugin update guide.

carchrae commented 2 years ago

pretty poor DX help.

tldr;

change the docs to put the import in a different file

import 'cypress-plugin-stripe-elements';

into cypress/support/commands.js

olegKrama commented 2 years ago

When I put {"chromeWebSecurity" : false} into cypress.config.js. Cypress said that ; expected

madmacc commented 1 year ago

Working solution for Cypress 12.9.0 and Stripe Elements in 2023 here: https://stackoverflow.com/a/75883621/10222449