Skip to content

patrol_plus v5.0.3

Choose a tag to compare

@github-actions github-actions released this 30 Jun 04:43
· 69 commits to master since this release
  • FIX(patrol_plus): per-test initialise() now skips the 60s DDC detection wait on subsequent calls (profile/release/WASM builds). globalSetup writes .patrol_build_mode.json after the first DDC detect; each Playwright worker reads it and skips the wait if isDDC=false. Without this, every test burned 60s on the DDC detect — with --web-timeout=120s this left only 60s for Flutter boot + test body, causing the test timeout to fire during waitForFunction(__patrol__onInitialised), Playwright closing the page, and the same "Target page, context or browser has been closed / Total: 0" failure that 5.0.2 fixed in globalSetup but left present in the per-test setup phase. Fixes #6.

Published to pub.dev: https://pub.dev/packages/patrol_plus/versions/5.0.3