Ethereum Testing – How to Automate End-to-End Testing for Ethereum DApps with MetaMask

dappsethereum-wallet-dapptestingtruffle-test

I'm wondering what the best way to test the entire stack of a dapp is?

From UI -> to wallet connection -> web3.js and interacting with the smart contract?

In web2 we could just use something like puppeteer, but extensions can't run inside headless chrome. So I'm not sure the best way to go about automating full workflows
with Metamask.

If there is a framework or service for this, I'd love to know, as I'd rather not roll my own solution as described here

If you have any suggestions I would love to hear them!

Best Answer

This should solve your problem!

https://github.com/Synthetixio/synpress

Related Topic