Open pavinduLakshan opened 1 year ago
Did you have any success? I'm with the same problem here..
@pavinduLakshan @PabloGarciaQATesting Is this causing any changes to how your tests or run or impacting the run at all?
@jennifer-shehane Yes it is, I cannot run the tests or open even open cypress interface
In my case, it had no effect on the issue I was facing. My issue was related to a misconfigured host mapping.
Can anyone provide a repo to run where this warning is showing? It's likely specific to something involved in the repo since this isn't occuring for everyone.
@jennifer-shehane I ran across this while looking at a completely different issue https://github.com/beeware/toga/issues/2188 so I thought it might be useful to note here that this is probably at least Sonoma-specific
Facing this issues as well, cypress was working great and now completely blocks. I tried clearing Library/Caches/Cypress... but it didn't work.
MacOS 14.0 @glyph I do believe this is sonoma specific. An unrelated app with the same issue here
Here's an app that reproduces this: https://github.com/mrlonis/example-angular-app.
I am on Intel Mac-OS 14.1.1
I get this warning but it doesn't stop cypress from working. Here's a thread with details about the warning.
Have the same problem, 'Cypress open' doesn't connect to Chrome anymore.
Sonoma 14.1
Cypress run
still works and so does Cypess run --headed
(using electron)
but
Cypess run --headed --no-exit --browser chrome
does not (same issue as Cypress open
)
Running with debug enabled attached output (https://github.com/cypress-io/cypress/files/13420424/debug.log))
@obecker-csdisco I'm not seeing the "Secure coding is not enabled for restorable state" message anywhere in your debug logs. Are you describing this same issue?
I'm having the same issue on Cypress 13.6.0
and Node v18.18.2
. I'm also on Sonoma - to reproduce:
1) clone https://github.com/Avansai/next-multilingual
2) npm install
3) npm run test
@obecker-csdisco I'm not seeing the "Secure coding is not enabled for restorable state" message anywhere in your debug logs. Are you describing this same issue?
Sorry, doesn't show up in the logs but in terminal.
$ cypress open
2023-12-04 08:33:25.124 Cypress[11676:59495] WARNING: Secure coding is not enabled for restorable state! Enable secure coding by implementing NSApplicationDelegate.applicationSupportsSecureRestorableState: and returning YES.
Any update on this Issue ?
I imagine this is coming from Electron, they implemented a fix for this, but it doesn't look like they're backporting it to older versions for some reason: https://github.com/electron/electron/pull/40296
We're working on an Electron update, but were not going to get up to Electron 29 quite yet.
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
Not using Electron, but Chrome. Unfortunately I have no simple way to reproduce this.
My best "guess" at this point is that it is env related, as I have engineers using the same repo and being able to run cypress open successfully with chrome. Same version of MacOS, Chrome and Node
Same here: macOS: Sonoma - version 14.5 Node: v20.11.0 Cypress: 13.6.4
I've noticed that the issue appears only in Chrome and Edge but it's a problem because we need to run our tests on Chrome browser.
Current behavior
Seeing the following warning when running the Cypress in headed mode in Chrome 118.
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