Comments (16)
I've done some digging, and this error occurs due to an issue with Cypress v12.17.4
. If you downgrade to version v12.17.3
or lower in your projects, it should go away.
I'll push a new Synpress release with the fix tomorrow 🫡
from synpress.
sounds good.. thanks @duckception ... appreciate your prompt response
from synpress.
Also having this issue with both Synpress (standalone) and as a Cypress plugin.
from synpress.
@mostafa-rio @jemeza did you try with latest stable version which is @synthetixio/[email protected]
?
from synpress.
@drptbl I did. For me it actually started to happen on the working setup that uses older version (3.6.4) so I tried to bump it to 3.7.1 and the issue is still there.
from synpress.
Currently using Synpress as a plugin for Cypress. The latest version of Synpress that works for me is 3.5.1. I'm using the Cypress and Synpress versions specified in cypress/shared-state. I tried bumping these versions and got those errors.
from synpress.
@drptbl I tested the stable version (3.7.1) and we have the same error.
from synpress.
I have the same error, tried everything but couldn't find a way to fix it :(
from synpress.
Same error, what version i can use for cypress with no error?
from synpress.
@philpetrov Use these versions: https://github.com/synpress-io/synpress-examples/blob/master/cypress/shared-state/package.json
from synpress.
ok, thanks so much, respect
from synpress.
I've released a new version under the 3.7.2-beta.6
tag that contains the fix! 🚀
Please re-open if the issue somehow persists 🫡
from synpress.
@duckception I am running into the same issue with cypress 13
.. I have not used with the previous version but tried adding synpress recently for some e2e testing and running into the same issue above.. any suggestions please? Thanks
from synpress.
Hey @jeetparikh!
Synpress doesn't support Cypress above v12.17.3
because from v12.17.4
onwards they moved from Webpack v4
to v5
(see changelog). You could try making a PR yourself that will resolve this. I'm not sure this is fully working but you could try looking into this repository: https://github.com/YakovL/synpress-cucumber
We currently have no capacity to make this change ourselves as we've working hard on the upcoming version of Synpress which is a complete rewrite of the codebase.
from synpress.
No worries.. thanks for getting back @duckception ... Is that on the roadmap at some point? Because this would definitely be a blocker for a lot of people as Cypress v13 comes with some of it's own goodies..
from synpress.
@jeetparikh Since we're doing a complete rewrite we have a lot on our plate. We're close to an alpha release that focuses on Playwright. After that, our priority will be polishing the "core" of Synpress, implementing missing MetaMask functions, and adding a wallet-agnostic system so we can support more wallets and unlock a few interesting features thanks to that. We don't have any specific roadmap but once all of this is done we will look into adding Cypress support and that would mean supporting the latest versions.
Unfortunately, Cypress support in Synpress relies heavily on Playwright and that's why it's so far on the roadmap. I know this is a bummer 🥲
However, once the alpha release is more or less stable I'll see how hard it would be to add experimental Cypress support though 🫡
from synpress.
Related Issues (20)
- Metamask window freeze after 'cy.confirmMetamaskTransaction() intermittently '[🐛 Bug]: <title> HOT 5
- [🐛 Bug]: Sometimes calling metamask.confirmPermissionToApproveAll() method on Metamask approve window is failing using Playwright + Synpress as plugin HOT 7
- [🐛 Bug]: Can't run synpress 3.7.2-beta.9 in Github Actions (`cy.task('setupMetamask')` timed out after waiting `120000ms`.) HOT 3
- [🐛 Bug]: Alpha version: Wallet cache hashes are different between generation and test HOT 7
- [💡 Feature]: ability to use a custom browser when creating a cache
- acceptMetamaskAccess() failing with cy.task() error HOT 3
- `cy.task('setupMetamask')` failed with ECONNREFUSED 127.0.0.1:9222 ("before all" hook) HOT 2
- Expect to support tronlink connections
- No response from RPC HOT 2
- confirmSignatureRequest() failing in Playwright + Synpress - Error: page.waitForSelector: Target closed waiting for locator('.notification .request-signature__footer__sign-button') to be visible
- [🐛 Bug]: Wrong uncaught exception handing produces "process is not defined" error HOT 3
- [💡 Feature]: Synpress with fully parallel run with metamask windows HOT 4
- [🐛 Bug]: An error of 'Timeout 30000ms exceeded.' occurred in Docker mode But Correct in non Docker mode HOT 12
- [💡 Feature]: Validate all user inputs with zod
- [🐛 Bug]: Module parse failed: Unexpected token HOT 2
- [💡 Feature]: Save metamask configuration in a fixture so that the entire setup doesn't happen with every run
- [🐛 Bug]: `cy.importMetamaskAccount()` timeout on duplicate account HOT 1
- [💡 Feature]: Autoconnect a newly switched account to the dapp if one was connected previously HOT 1
- can't run with playwright HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from synpress.