Error cypress and paypal sdk “react-paypal-js”
akheersoum090
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Jul-28-2021
01:53 AM
have at error with cypress and paypal sdk "react-paypal-js" when I'm doing click in the paypal button I have the next site error
"TypeError: o.removeEventListener is not a function" "Uncaught TypeError: Cannot read property 'stack' of null"
import i18n from '@/lib/i18n'; import users from '@/cypress/fixtures/common/users'; describe('<InvoiceList />', () => { before(() => { cy.task('db:seed:invoices'); }); after(() => { cy.task('db:clean', { db: 'elinvo' }); }); it('<InvoiceList /> - Validate app list', () => { cy.login({ email: users[1].email, password: 'usertimg' }); cy.visit('/invoices'); cy.wait(5000); cy.get('[data-cy=invoice-btn-paypal]').click(); }); });
Labels:
- Labels:
-
PayPal HTML Buttons
0 REPLIES 0
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Activate reference transactions in PayPal Payments Standard
- Seller "Buy now" button - unable to edit a button in PayPal Payments Standard
- Paypal 4X credit : translated message & currency error in PayPal Payments Standard
- Unable to Retrieve Plan ID Related to a Subscription in REST APIs
- Need help to integrate PayPal Standard Checkout with Shopify in PayPal Payments Standard