File tree Expand file tree Collapse file tree 5 files changed +26
-5
lines changed Expand file tree Collapse file tree 5 files changed +26
-5
lines changed Original file line number Diff line number Diff line change @@ -187,11 +187,12 @@ export PATH="$PATH":"$HOME/.maestro/bin"
187187
188188``` bash
189189# All E2E tests - NEVER CANCEL, timeout: 15+ minutes
190- pnpm test:e2e
190+ devbox run -- pnpm test:e2e
191191
192192# Specific test flows - NEVER CANCEL, timeout: 5+ minutes each
193- pnpm test:e2e:smoke # Basic app functionality
194- pnpm test:e2e:verification # Phone verification flow
193+ devbox run -- pnpm test:e2e:smoke # Basic app functionality
194+ devbox run -- pnpm test:e2e:verification # Phone verification flow
195+ devbox run -- pnpm test:e2e:rating # In-app rating flow
195196```
196197
197198** Test Files Location** : ` .maestro/flows/ `
Original file line number Diff line number Diff line change @@ -36,4 +36,7 @@ expo-env.d.ts
3636/ios
3737google-services.json
3838key.json
39- report.xml
39+ report.xml
40+ # Test artifacts and screenshots
41+ artifacts /
42+ /* .png
Original file line number Diff line number Diff line change 1+ appId : de.democracy-deutschland.clientapp.internal
2+ ---
3+ - launchApp
4+ - waitForAnimationToEnd
5+ - assertVisible : " Es liegen derzeit noch keine Abstimmungsdaten vor."
6+ - swipe :
7+ start : 0, 300
8+ end : 300, 300
9+ - waitForAnimationToEnd
10+ - assertVisible : " ⭐️ App Bewerten"
11+ - tapOn : " ⭐️ App Bewerten"
12+ - takeScreenshot : artifacts/maestro/rating/rating_after_tap
13+ - waitForAnimationToEnd
14+ - tapOn : " Später"
Original file line number Diff line number Diff line change @@ -31,12 +31,14 @@ Run specific test flows:
3131``` bash
3232pnpm test:e2e:smoke # Run smoke tests
3333pnpm test:e2e:verification # Run verification flow tests
34+ pnpm test:e2e:rating # Run rating flow tests
3435```
3536
3637### Test Flows
3738
3839- ` smoke.yaml ` : Basic app launch and navigation tests
3940- ` verification.yaml ` : Tests the phone verification flow
41+ - ` rating.yaml ` : Opens the drawer and exercises the in-app rating entry point
4042
4143### Test Structure
4244
Original file line number Diff line number Diff line change 1515 "doctor" : " expo-doctor" ,
1616 "test:e2e" : " maestro test .maestro/flows/" ,
1717 "test:e2e:smoke" : " maestro test .maestro/flows/smoke.yaml" ,
18- "test:e2e:verification" : " maestro test .maestro/flows/verification.yaml"
18+ "test:e2e:verification" : " maestro test .maestro/flows/verification.yaml" ,
19+ "test:e2e:rating" : " maestro test .maestro/flows/rating.yaml"
1920 },
2021 "dependencies" : {
2122 "@apollo/client" : " ^3.12.6" ,
You can’t perform that action at this time.
0 commit comments