Playwright integration tests for Forgejo
Aravinth Manivannan
80d6e80112
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
|
||
---|---|---|
.github/workflows | ||
.reuse | ||
LICENSES | ||
tests | ||
tests-examples | ||
.env | ||
.gitignore | ||
.nvmrc | ||
.woodpecker.yml | ||
docker-compose.yml | ||
Dockerfile | ||
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