Playwright integration tests for Forgejo
Aravinth Manivannan
db358e4632
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
Co-authored-by: Ryuno-Ki |
||
---|---|---|
.github/workflows | ||
.reuse | ||
LICENSES | ||
tests | ||
tests-examples | ||
.env | ||
.gitignore | ||
.nvmrc | ||
.woodpecker.yml | ||
docker-compose.yml | ||
Dockerfile | ||
Makefile | ||
package-lock.json | ||
package.json | ||
playwright.config.ts | ||
README.md |
Playwright based integration testing for Forgejo
Development
Dependencies
- Node v20.10.0: We use
nvm
for Node version management. If installed, runnvm use
in repo directory - Docker compose: for spinning up test environment
Usage
Please install development dependencies. Also consider installing browser drivers (see here). On my development, I test only on Firefox and Chromium, so I run:
npx playwright test --project=firefox \
&& npx playwright test --project=chromium