mirror of
https://github.com/pezkuwichain/pwap.git
synced 2026-04-21 23:47:56 +00:00
E2E Tests (Maestro)
Setup
# Install Maestro CLI
curl -Ls "https://get.maestro.mobile.dev" | bash
# Or via npm
npm install -g maestro
Running Tests
# Single test
maestro test .maestro/01-onboarding.yaml
# All tests
maestro test .maestro/
# With connected device
adb devices # ensure device is connected
maestro test .maestro/
Test Flows
- 01-onboarding — Welcome → Create Wallet → Mnemonic → Dashboard
- 02-send-flow — Wallet → Send → Enter address/amount → Verify fee
- 03-receive-flow — Wallet → Receive → QR code visible → Copy/Share
- 04-dapp-browser — Apps → DApp Browser → Bookmarks visible
- 05-settings-network — Wallet → Network selector → Networks listed
Prerequisites
- App must be installed on device/emulator
- For tests requiring wallet: run 01-onboarding first