Replace Saucelabs with Playwright
Also reorganized npm scripts.
This commit is contained in:
committed by
Jay Linski
parent
ef0fc290b9
commit
9ed9418488
@@ -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
|
||||
```
|
||||
Reference in New Issue
Block a user