This project uses Maestro for end-to-end testing. Maestro is a mobile UI testing framework that allows you to write tests in YAML format.
- Install Maestro CLI:
# macOS
curl -Ls "https://get.maestro.mobile.dev" | bash
# Linux/WSL
curl -Ls "https://get.maestro.mobile.dev" | bash- Verify installation:
maestro -vYou can run the tests using the npm scripts:
# Run all tests
npm run test:e2e
# Run specific tests
npm run test:e2e:app-launch
npm run test:e2e:navigation
npm run test:e2e:search
npm run test:e2e:profile
npm run test:e2e:transaction
npm run test:e2e:wallet- Tests are located in the
.maestrodirectory - Test flows are in
.maestro/flows/ - Common/reusable flows are in
.maestro/common/ - Screenshots and reports are saved in
.maestro/screenshotsand.maestro/report
For more details on the Maestro tests, see the .maestro/README.md file.