also looking at this
fix(mobile-e2e): launch iOS apps without a pty, so a cold simulator cannot eat the budget
#212
5 files
+74
-23
| @@ -171,8 +171,8 @@ function firstJsonObject(text: string): string | null { | ||
| 171 | 171 | /** |
| 172 | 172 | * Pull the driver's events out of a device log. |
| 173 | 173 | * |
| 174 | * The log is not ours: on iOS it is the app's whole stderr as | |
| 175 | * `simctl launch --console-pty` saw it, on Android a logcat slice, both | |
| 174 | * The log is not ours: on iOS it is the app's whole stdout and stderr as | |
| 175 | * `simctl launch --stdout --stderr` wrote them, on Android a logcat slice, both | |
| 176 | 176 | * carrying unrelated system chatter and, on iOS, ANSI colouring. So lines are |
| 177 | 177 | * found by marker rather than by position, colour codes are stripped first, |
| 178 | 178 | * and a marker line with no readable event is reported rather than skipped - |