synpress
synpress copied to clipboard
Getting CypressError: `cy.screenshot()` timed out waiting `30000ms` to complete.
│ Cypress: 9.5.3 │ │ Browser: Chrome 103 │ │ Node Version: v17.3.1 (/usr/local/bin/node) │ │ Specs: 1 found (login.specs.ts) |
This is happening in the 1) "before all" hook for "Connects with Metamask"
Is there any work around to this?
Just to add more detail it opens the metamask plugin and the get started button shows
same for me stays on metamask welcome page
Can you write your package.json dependencies?
If you are using jest@27 you will experience this error. Try to downgrade to jest@26
I can confirm that jest@26 does not resolve this issue for me on M1 Mac. It seems to work fine on Linux & Windows
It works fine on jest@27 for Linux & Windows that is
Go to your macos preferences and make sure you have the applications that invoke cypress whitelisted in the automation permissions like so:

Hey, this is old and probably not relevant to latest synpress version. If this issue still persists, please re-open. Thanks!
@drptbl Should we reopen this one or should I open a new issue? (looks like I can't reopen it) I'm facing this from time to time, without changing anything in config or tests (but can't really say what causes it). I'm using Synpress 3.7.1 and Cypress 12.13.0