Giter Site home page Giter Site logo

Comments (16)

duckception avatar duckception commented on June 11, 2024 2

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.

jeetparikh avatar jeetparikh commented on June 11, 2024 1

sounds good.. thanks @duckception ... appreciate your prompt response

from synpress.

jemeza avatar jemeza commented on June 11, 2024

Also having this issue with both Synpress (standalone) and as a Cypress plugin.

from synpress.

drptbl avatar drptbl commented on June 11, 2024

@mostafa-rio @jemeza did you try with latest stable version which is @synthetixio/[email protected]?

from synpress.

eshavkun avatar eshavkun commented on June 11, 2024

@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.

jemeza avatar jemeza commented on June 11, 2024

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.

mostafa-rio avatar mostafa-rio commented on June 11, 2024

@drptbl I tested the stable version (3.7.1) and we have the same error.

from synpress.

ntee22 avatar ntee22 commented on June 11, 2024

I have the same error, tried everything but couldn't find a way to fix it :(

from synpress.

philpetrov avatar philpetrov commented on June 11, 2024

Same error, what version i can use for cypress with no error?

from synpress.

jemeza avatar jemeza commented on June 11, 2024

@philpetrov Use these versions: https://github.com/synpress-io/synpress-examples/blob/master/cypress/shared-state/package.json

from synpress.

philpetrov avatar philpetrov commented on June 11, 2024

ok, thanks so much, respect

from synpress.

duckception avatar duckception commented on June 11, 2024

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.

jeetparikh avatar jeetparikh commented on June 11, 2024

@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.

duckception avatar duckception commented on June 11, 2024

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.

jeetparikh avatar jeetparikh commented on June 11, 2024

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.

duckception avatar duckception commented on June 11, 2024

@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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.