cypress: Secure coding is not enabled for restorable state (Sonoma)
Current behavior
Seeing the following warning when running the Cypress in headed mode in Chrome 118.
2023-10-27 15:49:35.592 Cypress[5949:37879] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
Desired behavior
Cypress should not print these kind of warnings
Test code to reproduce
Running any Cypress project on Mac OS 14 shows this warning
Cypress Version
12.5.1
Node version
v16.17.0
Operating System
MacOS 14.1
Debug Logs
No response
Other
No response
About this issue
- Original URL
- State: open
- Created 8 months ago
- Reactions: 21
- Comments: 18 (5 by maintainers)
I just want to note more clearly, as did the engineer at Electron, that this log message is a warning and can be ignored.
If you are encountering an error, early exit, hanging or unusual failures after this warning is displayed - that is not indicating that this warning message is the cause of the abnormal behavior in cypress. If you’re encountering these situations, please open a new issue with full debug logs, a description of the problem, and a way to reproduce it and we can investigate if there is a bug causing the test run to act abnormally
Any update on this Issue ?
I get this warning but it doesn’t stop cypress from working. Here’s a thread with details about the warning.
Here’s an app that reproduces this: https://github.com/mrlonis/example-angular-app.
I am on Intel Mac-OS 14.1.1