web3 / web3.js

Collection of comprehensive TypeScript libraries for Interaction with the Ethereum JSON RPC API and utility functions.
https://web3js.org/
Other
19.16k stars 4.91k forks source link

Web3Modal client for web3.js: Tests #6750

Closed mconnelly8 closed 4 months ago

mconnelly8 commented 7 months ago

Web3Modal : is built on top of Wagmi, It handle all the edge cases around wallet connection, and provide a seamless Connect Wallet UX that you can use in your Dapp. In this task Web3Modal client for web3.js should be implement as standalone lib.

avkos commented 6 months ago

For test you can use a separate repository with cypress. like this one

Muhammad-Altabba commented 4 months ago

web3modal has automated tests at apps / laboratory which uses PlayWright for testing. Currently tests which are located at those files passes:

image

image

For context: https://github.com/ChainSafe/web3modal/pull/2#issuecomment-2071966907 and https://github.com/ChainSafe/web3modal/pull/2#issuecomment-2069022889

The rest of the tests are for emails and smart accounts. And they needed to be verified and probably fixed at this follow-up issue: https://github.com/web3/web3.js/issues/6995.