Sasha 281d9b2c9d
feat: add playwright CI testing (#1542)
* add tests-browser package

* rename to browser

* add playwright and experiment with karma

* add lock

* remove karma

* remove readme

* replace default app, rename

* add and configure playwright

* up package-lock

* use @waku/create-app, add scripts to handle it

* remove tsconfig

* update playwright script

* move dependency to root

* set folder

* up

* try install step

* add playwright dep

* remove step

* add es module utils

* fix import issue

* run on master

* use image prop

* use dotenv-flow, set .env.local

* add log, use dotenv-flow

* add env var to ci

* add env vars to CI

* return install of deps

* return container & log build step

* upgrade @waku/create-app

* fix firefox in container problem
2023-09-22 14:34:16 +02:00

20 lines
508 B
JSON

{
"name": "@waku/browser-tests",
"version": "0.1.0",
"private": true,
"type": "module",
"scripts": {
"start": "run-s start:*",
"start:setup": "node ./src/setup-example.js",
"start:build": "node ./src/build-example.js",
"start:serve": "npx serve -p 8080 --no-port-switching ./example",
"test": "npx playwright test"
},
"devDependencies": {
"@playwright/test": "^1.37.1",
"@waku/create-app": "^0.1.1-7c24ffa",
"dotenv-flow": "^3.3.0",
"serve": "^14.2.1"
}
}