Commit b500a30
fix(test): Use Process.killProcess instead of am force-stop to preserve notifications
am force-stop (used by Maestro's killApp) clears all notifications on
API 33+, causing Test 4 (COLD start via notification) to always fail.
Adds a "Kill Process" button that calls Process.killProcess() which
kills the app process without clearing notifications. The Maestro test
now taps this button instead of using killApp.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent cd5740b commit b500a30
File tree
2 files changed
+8
-3
lines changed- sentry-android-integration-tests/sentry-uitest-android-critical
- maestro
- src/main/java/io/sentry/uitest/android/critical
2 files changed
+8
-3
lines changedLines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
102 | 107 | | |
103 | 108 | | |
104 | 109 | | |
| |||
0 commit comments