GithubHelp home page GithubHelp logo

Comments (7)

huseyindeniz avatar huseyindeniz commented on June 15, 2024

I found this great example but couldn't make it work in my template. => https://github.com/YakovL/synpress-cucumber
I'll try later.
fyi: @YakovL

from vite-react-dapp-template.

YakovL avatar YakovL commented on June 15, 2024

Hi @huseyindeniz if you specify what went wrong, I could be able to help. Note that Cypress watch mode still doesn't work with Synpress (not sure if it will get changed with the upcoming Sypress 4, though), there are some issues with it (my not-so-consistent notes can be found here), even though a couple of fixes I've proposed were merged already. But aside the watch mode, I was able to combine Synpress + Cucumber (not sure if the latest setup is in the repo, though)

from vite-react-dapp-template.

YakovL avatar YakovL commented on June 15, 2024

PS a side note: you may want to use Vitest instead of Jest for better performance of tests

from vite-react-dapp-template.

huseyindeniz avatar huseyindeniz commented on June 15, 2024

hi @YakovL thank you very much for the update. I checked my local branches and found the branch that I tested this integration. I'll push the branch later after I check if I put any secret into code accidentally or not :D

There are 2 issues when I run the cypress.

First one is, during the startup, Metamask installation can not be completed. I needed to do it manually in the test browser instance. It shows Metamask installed but can not be configured error at this phase. It shows this warning with a reload extension button but when you click it nothing changes.

After completing the Metamask setup manually and trigger the test manually I see this:

image

But it's better pushing this branch, so if you could look at that branch in some time, maybe you can identify the problem quickly. Thanks again.

from vite-react-dapp-template.

YakovL avatar YakovL commented on June 15, 2024

during the startup, Metamask installation can not be completed

is it stuck on the password typing step? Does it show that the setup metamask helper was called twice?

from vite-react-dapp-template.

huseyindeniz avatar huseyindeniz commented on June 15, 2024

I can only see the following screen right after running it:

image

And when I click the Metamask icon, it shows it's not logged in.

from vite-react-dapp-template.

huseyindeniz avatar huseyindeniz commented on June 15, 2024

it seems synpress supports playwright. Consider using playwright instead of cypress.

from vite-react-dapp-template.

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.