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
- SetExpressCheckout 10003 error with ITEMCATEGORY=Digital in NVP/SOAP APIs
- We're not currently set up for transactions in India. in PayPal Payments Standard
- Issue with Empty store_info in Response Using /v1/reporting/transactions on Sandbox API in REST APIs
- recurring payments when price maybe changed and price have 2 decimal point in REST APIs
- does api-m.sandbox.paypal.com or the real api endpoint support IPv6? in REST APIs