-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
Salesforce returns Component Error under the Cypress test #21233
Comments
@tit can you see if this is fixed by #24290 (comment) in |
Going to close this issue due to inactivity, but if this continues to be a problem please open another issue! |
Hello, I am using 12.4.0 cypress version, and I still see this error in my tests |
Hi @enesyildir. Did you try 12.4.0 with the experimentalSkipDomainInjection configured for your test domain? |
@AtofStryker Hello, that fixed the chrome issue, but this component error still happens when I run my tests. |
@enesyildir I have reopenned the issue. Would you be able to to provide salesforce credentials so we can access the reproduction site? |
@jeanabanto Are you able to create a reproduction repository we can run on our end to validate the issue? |
@AtofStryker I am unable to create a reproduction repository without giving out access to our internal APIs and applications. The error appears only on specific scenarios within our application that runs on salesforce. Enabling |
@jeanabanto interesting. Just to clarify, are you setting |
@AtofStryker by default in our config file, |
Right now there doesn't seem to be enough information to reproduce the problem on our end. We'll have to close this issue until we can reproduce it. This does not mean that your issue is not happening - it just means that we do not have a path to move forward. Please comment in this issue with a reproducible example and we will consider reopening the issue. Here are some tips for providing a Short, Self Contained, Correct, Example and our own Troubleshooting Cypress guide. |
This experimental flag will be made default behavior in Cypress 14 with |
Current behavior
Hello, I try to open Salesforce page with Lightning Web Security (https://developer.salesforce.com/docs/component-library/documentation/en/lwc/lwc.security_lwsec_intro).
But under Cypress Salesforce returns Component Error.
If I use Playwright, then Salesforce not returns this error.
Desired behavior
No response
Test code to reproduce
I can provide credentials from Salesforce Instance in a personal email message.
Cypress Version
9.6.0
Other
No response
The text was updated successfully, but these errors were encountered: