Skip to content

Commit b038b38

Browse files
committed
docs: synpress mention deteled and note about playwright examples added
1 parent e56014f commit b038b38

2 files changed

Lines changed: 2 additions & 9 deletions

File tree

sites/wonderland/docs/development/qa/web3-e2e-automation/design-patterns.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ By applying design patterns, teams can:
99
- Simplify onboarding of new contributors.
1010
- Adapt quickly to UI or business logic changes.
1111

12+
> ℹ️ The examples in this section use Playwright with JavaScript and TypeScript.
13+
1214
## AAA (Arrange-Act-Assert)
1315

1416
Every test is divided into three parts:

sites/wonderland/docs/development/qa/web3-e2e-automation/overview.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,6 @@ title: Overview
66

77
Web3 E2E (end-to-end) automation focuses on testing decentralized applications (dApps) from a user’s perspective, validating how smart contracts, wallets, frontends, and blockchain nodes interact in real-world scenarios. This type of automation typically involves tools like Playwright, Cypress, or Selenium, combined with test wallets, mock chains, or real testnets.
88

9-
We use [Synpress with Playwright](https://docs.synpress.io/docs/setup-playwright) which combines modern e2e testing power with Web3 context. This is a powerful combination that simplifies the complexity of Web3 e2e testing by:
10-
11-
- Providing a reliable, scalable testing environment for dApps
12-
- Automating browser wallet flows (MetaMask, Phantom)
13-
- Offering a built-in mock wallet for testing without a real wallet (Ethereum Wallet Mock)
14-
- Enabling seamless integration for launching local test networks (with Anvil)
15-
16-
> [Synpress with Playwright setup](https://www.notion.so/Synpress-setup-1fb9a4c092c7809fb305f33bf3b7a4fd?pvs=21)
17-
189
## Best Practices
1910

2011
Best practices in E2E automation testing ensure that the testing process is efficient, reliable, maintainable, and scalable. Without them, automated tests can quickly become fragile, slow, or difficult to manage, defeating the purpose of automation.

0 commit comments

Comments
 (0)