Skip to content

Commit

Permalink
update pwtests commands
Browse files Browse the repository at this point in the history
  • Loading branch information
dlaliberte committed Aug 16, 2023
1 parent 2d7b8cf commit 8e22526
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
},
"scripts": {
"//pwtests": "The version of the docker playwright image used here must exactly match the versions of @playwright/test in devDependencies and the Github Actions configuration (in playwright.yml). The version of playwright used in devDependencies should not include the ^ prefix, so it doesn't auto-upgrade and get out of sync.",
"pwtests": "docker run --rm --network host --volume $(pwd):/work/ --workdir /work/ -it mcr.microsoft.com/playwright:v1.35.1-jammy /bin/bash -c \"npm ci && npx playwright test\"",
"pwtests-update": "docker run --rm --network host --volume $(pwd):/work/ --workdir /work/ -it mcr.microsoft.com/playwright:v1.35.1-jammy /bin/bash -c \"npm ci && npx playwright test --update-snapshots\"",
"pwtests": "docker run --rm --network host --volume $(pwd):/work/ --workdir /work/ -u $(id -u):$(id -g) -it mcr.microsoft.com/playwright:v1.35.1-jammy /bin/bash -c \"npm ci --loglevel=verbose && npx playwright test\"",
"pwtests-update": "docker run --rm --network host --volume $(pwd):/work/ --workdir /work/ -u $(id -u):$(id -g) -it mcr.microsoft.com/playwright:v1.35.1-jammy /bin/bash -c \"npm ci && npx playwright test --update-snapshots\"",
"start": ""
},
"repository": {
Expand Down

0 comments on commit 8e22526

Please sign in to comment.