walletconnect-docs
walletconnect-docs copied to clipboard
[docs] How to test an application with Playwright?
Summary
Firstly thank you for your amazing work on this project. The migration to v4 (wagmi 2 and viem 2) was very straightforward which is a testament to the effort that has been put into this project. Thank you very much!
Documentation question:
I have some playwright tests and I want to go e2e with them. Therefore I need to connect and interact with a wallet. I'm using Playwright. I tried using https://github.com/Synthetixio/synpress, but I can't even get to the MetaMask interaction as web3modal
can't find MetaMask:
For reference: I'm building a NextJS app using web3modal
via the const { open } = useWeb3Modal();
hook.
Is there a recommended way for apps to interact with web3modal
and wallets, specifically with Playwright?
Thank you
Link to the related docs page
New docs section for testing