ozyx / playwright-addInitScript-flake

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Steps to Reproduce

  1. npm install
  2. Launch the docker container matching our testing environment in CI:
docker run --cpus=2 --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.32.3-focal /bin/bash
  1. npm test
  2. Observe that the tests run w/ chrome are flaky, and tests with firefox and safari pass
  3. Update Playwright version to 1.30.0, clean, reinstall
  4. Launch docker container for 1.30.0:
docker run --cpus=2 --rm --network host -v $(pwd):/work/ -w /work/ -it mcr.microsoft.com/playwright:v1.30.0-focal /bin/bash
  1. npm test, observe that all tests pass

About


Languages

Language:JavaScript 90.7%Language:HTML 9.3%