also looking at this
test: retain bounded browser launch evidence on failure
#70
18 files
+620
-23
| @@ -89,7 +89,7 @@ try { | ||
| 89 | 89 | console.log(`QA driver33s timer drift ms: ${Date.now() - waitStart - 33000}`) |
| 90 | 90 | const status = await control('status') |
| 91 | 91 | console.log(`QA actual native recipient streams: ${status.recipientStreams}`) |
| 92 | assert.equal(await second.evaluate('1'), 1, 'Existing actual browser tab must stay responsive') | |
| 92 | await second.checkLiveness() | |
| 93 | 93 | assert(status.recipientStreams > baseline.recipientStreams, 'Actual native stream must reconnect during the measured lifetime window') |
| 94 | 94 | const starts = status.recipientStreamStarts as number[] |
| 95 | 95 | assert(starts.slice(baseline.recipientStreams).some((start, index) => start >= waitStart && start - starts[baseline.recipientStreams + index - 1]! >= 30000), 'Measured renewal must follow an actual default30s stream lifetime') |