feat: basic README
ci/woodpecker/push/woodpecker Pipeline was successful Details

This commit is contained in:
Aravinth Manivannan 2024-01-10 02:06:48 +05:30
parent cd6a8df4bf
commit 45606e9f85
Signed by: realaravinth
GPG Key ID: F8F50389936984FF
1 changed files with 24 additions and 0 deletions

24
README.md Normal file
View File

@ -0,0 +1,24 @@
[![status-badge](https://ci.batsense.net/api/badges/110/status.svg)](https://ci.batsense.net/repos/110)
---
# [Playwright](https://playwright.dev/) based integration testing for [Forgejo](https://forgejo.org)
## Development
## Dependencies
- Node v20.10.0: We use [`nvm`](https://github.com/nvm-sh/nvm) for Node version management. If installed, run `nvm use` in repo directory
- Docker compose: for spinning up test environment
## Usage
Please install development dependencies. Also consider installing
browser drivers (see
[here](https://playwright.dev/docs/intro#installing-playwright)). On my
development, I test only on Firefox and Chromium, so I run:
```bash
npx playwright test --project=firefox \
&& npx playwright test --project=chromium
```