Replace Saucelabs with Playwright

Also reorganized npm scripts.
This commit is contained in:
Jakob Linskeseder
2021-12-22 21:05:06 +01:00
committed by Jay Linski
parent ef0fc290b9
commit 9ed9418488
18 changed files with 3451 additions and 443 deletions
+14
View File
@@ -0,0 +1,14 @@
# Browser Tests with Playwright
These tests execute Mocha tests from the `spec`-folder in multiple browsers.
## Using Docker
Execute the following commands in the project root:
```bash
npm install
npx grunt prepare
docker pull mcr.microsoft.com/playwright:focal
docker run -it --rm --volume $(pwd):/srv/app --workdir /srv/app --ipc=host mcr.microsoft.com/playwright:focal npm run test:browser
```