mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-11-30 10:15:40 +03:00
2969ef8829
This reverts commit
|
||
---|---|---|
.. | ||
examples/todoApp | ||
tests | ||
.gitignore | ||
package-lock.json | ||
package.json | ||
playwright.config.ts | ||
README.md | ||
start.js |
Headless Test
We are testing if a simple scenario works for the user each time:
- signup
- login
- create a new task
Check out the test file: tests/simple.spec.ts
How to run
Running headless tests:
$ cd headless-test
$ npm install
$ npx playwright test
If something breaks, maybe the example app won't run. Try running it and see if there are any errors:
npm run example-app:start
How to run in CI
We set up a GitHub Action to run the test in CI. See .github/workflows/ci.yml
for details.