v0.10.2
Patch Changes
-
73b9057: Fix device fixture teardown: sync test result before session close
The non-persistent
devicefixture calledsyncTestDetailsafterdevice.close(), causing BrowserStack to reject updates to closed sessions with 422. Also mapped raw Playwright status values (timedOut,interrupted) to BrowserStack-compatiblepassed/failedand wrapped the call in error handling to prevent sync failures from masking real test errors.Added
Device.finalizeTest(testInfo)public method that reuses existingmapPlaywrightStatus,failureReason, andsafeSynchelpers, matching the persistent fixture's behavior.