WeAreDevelopers LIVE Apr 5, 2024

Testing web3 applications

Soumaya Erradi

Are wallet popups breaking your Web3 end-to-end tests? Discover how Synpress seamlessly automates MetaMask interactions and smart contract deployments without unreliable workarounds.

Pause
Mute Enter Fullscreen
#1 about 3 min

Introduction to testing Web3 frontend applications

Setting up testing for Web3 frontend integrations reduces errors that stem from lacking an established backend.

#2 about 3 min

Introduction to end-to-end testing with Cypress

Cypress provides an easy setup experience alongside real-time reloading to accurately simulate user application interactions.

#3 about 4 min

Comparing Web2 and Web3 application architectures

Web3 transitions applications away from centralized permissions toward decentralized networks via smart contracts and wallet-based identities.

#4 about 4 min

Replacing the backend with smart contracts

Decentralized applications replace conventional databases and backend servers entirely with the Ethereum blockchain and smart contract programs.

#5 about 6 min

Essential Web3 developer tools and application binary interfaces

Application binary interfaces parse complex solidity functions into readable javascript objects mapping inputs and state modifications for frontend integration.

#6 about 8 min

Reading and writing blockchain data with ethers.js

The ethers.js library translates window providers into usable signers for fetching values and executing smart contract transactions.

#7 about 6 min

Solving wallet interaction testing with Synpress

Synpress acts as a crucial wrapper around Cypress to enable interface automation involving external MetaMask popups.

#8 about 5 min

Configuring Cypress and Synpress for Web3

Extending configuration timeouts inside Cypress test suites accommodates the inherently slower confirmation speeds surrounding native blockchain responses.

#9 about 7 min

Automating wallet connections and blockchain transactions

Cypress test scripts securely pass seed phrases to programmatically handle MetaMask account prompts and network verification parameters.

#10 about 3 min

Testing the deployment of NFT smart contracts

Token minting operations rely heavily on properly timed environment delays to confirm transaction generation without throwing disconnected errors.

#11 about 3 min

Keeping up with Web3 testing tools

Balancing newer frameworks like Playwright against the extensive ecosystem support found natively within Cypress requires perpetual evaluation.

#12 about 2 min

Ensuring code safety by testing on blockchain testnets

Running testing configurations exclusively over testnet environments prevents developers from accidentally draining mainnet assets during automation scripts.

#13 about 2 min

Simulating edge cases across web3 application states

Forcing user interface flows through targeted interaction paths ensures reliable frontend behavior regardless of unpredicted blockchain state resolutions.

#14 about 4 min

A non-traditional path into software engineering

Choosing to pursue computer science without initial passion ultimately manifested into an exceptionally rewarding path managing development teams.

Matching moments

3:01 min

Exploring the expansion of end-to-end testing utility suites

Daniel Afonso Daniel Afonso · WWC 2025

3:48 min

Analyzing test automation challenges and the Cypress timeline

Filip Hric · LIVE

2:45 min

Advantages of using Cypress for testing workflows

Anna Mcdougall · JS Congress

1:05 min

Cypress internal architecture and test execution constraints

Luca Micieli · WWC 2023

4:38 min

Testing integration in frameworkless web architectures

Alexander Günsche Alexander Günsche · LIVE

47 sec

Automating user flows with system end-to-end testing

Bartosz Pietrucha · WWC 2022

Upcoming sessions on this topic

Open session

World Congress 2026 North America

Testing React Backends Like a Pro: Mocking Databases with SQLite

David Morris

Solution Architect

David Morris
Open session

World Congress 2026 North America

One Repo, One Strategy: Scalable Full-Stack Testing in a Monorepo World

Bartosz Leczycki, Paweł Matynia

Bartosz Leczycki
Paweł Matynia
Open session

World Congress 2026 North America

Reinventing Testing Practices in the AI Era

Eric Deandrea

Java Champion & Senior Principal Software Engineer, IBM

Eric Deandrea
Open session

World Congress 2026 North America

Agents Can't Iterate Against Tests That Lie

Rocky Warren

Senior Staff Software Engineer at Clipboard

Rocky Warren
Open session

World Congress 2026 North America

Fast by Design: A Masterclass in High-Performance Web Engineering

Aaron Grogg

Senior web developer, committed to improving the user experience by improving web performance

Aaron Grogg
Open session

World Congress 2026 North America

DeepAgents: Build Multi-Agent AI Systems That Actually Work

Anjana Umapathy, Apoorva Jaiswal, Anagha Rumade

Anjana Umapathy
Apoorva Jaiswal
Anagha Rumade