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
- Error message for obtaining access_token in REST APIs
- where does paypal payments go to if there is no linked phone or email to the seller ? in PayPal Payments Standard
- Couldn't receive International payment in PayPal Payments Standard
- Which api can get oauth2.0 authorization_code? in REST APIs
- Is it possible to make payments in RON (Romanian Leu) through PayPal? in REST APIs