Skip to content

Commit

Permalink
add npm scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
vincanger committed Mar 18, 2024
1 parent b5a0c77 commit 249546e
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion e2e-tests/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,13 @@
"test": "tests"
},
"scripts": {
"test": "npx playwright test"
"example-app:start": "node ci-start-app.js",
"example-app:start-db": "npm run example-app:cleanup-db && wasp start db",
"example-app:start-app": "npm run example-app:wait-for-db && wasp db migrate-dev && wasp start",
"example-app:wait-for-db": "npx wait-port 5432",
"example-app:cleanup-db": "(docker container rm $(docker container ls -f name=^wasp-dev-db-OpenSaaS- -q) -f || true) && docker volume rm $(docker volume ls -f name=^wasp-dev-db-OpenSaaS- -q) -f || true",
"example-app:playwright": "playwright test",
"example-app:playwright:ui": "playwright test --ui"
},
"author": "",
"license": "ISC",
Expand Down

0 comments on commit 249546e

Please sign in to comment.