-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Chargebee iFrame not loading during Cypress test (Uncaught (in promise) Error: No message target specified) #152
Comments
Were you able to find a solution to this? The error message itself is less than helpful. |
Nope. We've also opened up a support ticket and still haven't been able to figure it out. |
Same issue. Very annoyingly useless message. |
Hi, Sorry for the delay in addressing this. Let me look into it and get back. |
Thanks, it's probably some setup issue, but very hard to figure out. I tried my setup with the example app and it works fine, with my app, which is a nextjs app (and I tried remix), it is not working. Do these wrappers actually work with React 18? |
Any update on this issue? |
Any update? |
Hello!
I am trying to run a Cypress test which loads a page and fills in the Chargebee information.
The Chargebee iFrame with the payment information fails to load with an error
Uncaught (in promise) Error: No message target specified
This is what I'm trying to load.
The page loads correctly in both dev and prod mode, when running outside of Cypress.
I can verify that
Chargebee.getInstance()
returns a valid instance, even inside the Cypress runner.The iFrame is present on the page, but it's body is empty.
I tried chasing the error down in this file but was not able to understand what it means.
Any guidance is appreciated.
Thank you in advance!
The text was updated successfully, but these errors were encountered: