Robust Tests for Unconventional Environments
summary
Dapper wallet is an Ethereum Chrome extension that deploys a smart contract per user, so transactions are slow (about 15–20 tx/s, ~1–2 minutes to confirm) and cost money (roughly $0.25 each); tests replicate production by running a geth local blockchain plus the API to catch issues missed by simple mocks. Integration tests cover popup/background/context-script messaging, login flows split into discrete steps, and Cypress is used by building the extension, serving it over HTTP, and mocking the Chrome API — which speeds development but sometimes hides encoding bugs.
AI-written summary · about
chapters (9)
- 0:00Introduction and background
- 1:30What is Dapper Labs
- 3:35Smart contracts and Chrome extensions
- 7:12Early development challenges
- 10:30Challenge one: Blockchain transactions
- 14:41Challenge two: Extension UX flows
- 18:53Challenge three: Message handling
- 23:51Testing unconventional environments
- 26:43Key takeaways and conclusion
related talks
24mRobust tests for unconventional environments
25mTesting in production: Ideas, experiences, limits, roadblocks
33mCypress: The future of E2E testing
30mE2E testing with Cypress for Web3 applications
27mI see your point, but… (Part 1)
01h 12mVarious Testing Methodologies for Fast Iteration on Ethereum
21mEnd to End Testing for Browser Extensions
49mFront-end Testing on Steroids
