fix(e2e): parse run-e2e.sh options after a leading -- and bound the docker info probe (#3518)

Co-authored-by: nova28 <17953305+nova28@users.noreply.github.com>
Co-authored-by: Carlos Florencio <carlosmflorencio@gmail.com>
This commit is contained in:
Henry
2026-09-09 14:52:07 +08:00
committed by GitHub
parent 769f2cc0e4
commit 1dd6d4bc9d
4 changed files with 315 additions and 4 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ pnpm e2e:run # auto: docker if daemon + CI ima
pnpm e2e:run tests/task/my-test.spec.ts # single file (extra args pass through to Playwright)
pnpm e2e:run tests/path/spec.ts -- --grep "exact test name" # exact CI failure with a fresh build
pnpm e2e:run --shards 3 # 3 shards concurrently on this machine (isolated)
pnpm e2e:run --no-build -- --grep "task creation" # skip rebuild; forward flags after --
pnpm e2e:run --no-build -- --grep "task creation" # runner options before --; Playwright options after
pnpm e2e:run --no-build --project mobile-chrome tests/layout/mobile-spa-resilience.spec.ts
pnpm e2e:docker # force the docker CI image (full isolation from a host dev instance)
pnpm e2e:clean # remove build/test artifacts, incl. root-owned ones from prior docker runs