-
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
Unable to load the JS script due to CSP issue #27809
Comments
In order to give our engineers the best chance at recreating your problem, please create a reproducible example using a fork of Cypress Test Tiny. This gives us the best chance of seeing exactly what you are seeing and being able to investigate effectively. |
@nagash77 I've created pull request with my test |
The issue is reproducible with latest cypress version too. @nagash77 Add below script to test file var scr = document.createElement('script'), Run the cypress test in open mode |
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided. |
This issue has been closed due to inactivity. |
Current behavior
Desired behavior
should be able to load JS script
Test code to reproduce
var scr = document.createElement('script'),
head = document.head || document.getElementsByTagName('head')[0];
head.appendChild(scr)
scr.src = 'https://www.google.com/recaptcha/enterprise.js?render=&render=explicit';
Cypress Version
13.0.0
Node version
18.5.0
Operating System
ubantu
Debug Logs
No response
Other
same code works on cypress 12.12.0
The text was updated successfully, but these errors were encountered: