Synthetixio / synpress

Synpress is e2e testing framework based on Cypress.io and playwright with support for metamask.
https://synpress.io
MIT License
564 stars 179 forks source link

Wallet mocking (integration with web3-mock) #727

Open drptbl opened 1 year ago

drptbl commented 1 year ago

The ability to mock wallets allows developers to simulate different wallet scenarios and test their DApps with various edge cases, without having to use actual wallets or real funds. This can save time and reduce the risk of costly mistakes during testing.

neuodev commented 1 year ago

After researching web3-mock, I found that it can work independently from Synpress. A basic integration will be to install "web3-mock" and use it right away from Cypress or Playwright tests!!

Not quite sure where "web3-mock" fits into our Synpress setup ATM. @drptbl Let me know what you think.