-
Notifications
You must be signed in to change notification settings - Fork 713
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
E2E Test API #683
Comments
@ivelin we are working on some e2e tests for wallet connect with Valora. You can see the progress here: valora-inc/wallet#1412 |
@MuckT This is really good stuff. Thank you for sharing. Have you started a conversation with the WalletConnect team about this. Looks like we can use some support in several areas:
It might be ideal to do this for |
The End-to-end test problem
Currently there is no stable WalletConnect API that allows web3 apps to write E2E tests that cover user's path across app and wallet controls. This leads to users experiencing app brittleness as they switch between wallets and networks.
For example, consider an issue like this one:
OlympusDAO/olympus-frontend#1038
Proposed Solution
Ideally , WalletConnect will provide a stable API that can be used in e2e tests to reproduce the exact user path through a web3 app and wallet on a specific browser and OS platform.
There are some early attempts for that with MetaMask such as dappeteer and synpress, but they are constantly breaking because the authrose of the tools have to keep up with unstable HTML control tags instead of relying on a stable API provided by wallets.
Additional Context
This issue was brought up to MetaMask (here), Brave (here) and Coinbase Wallet / WalletLink (here).
Hopefully WalletConnect supports this effort. Happy to setup a call across teams to coordinate a plan of attack.
The text was updated successfully, but these errors were encountered: