Playwright integration tests for Forgejo
Find a file
Aravinth Manivannan 47120c40b0
Some checks failed
ci/woodpecker/push/woodpecker Pipeline failed
fix: admin account creation
2024-01-10 20:51:16 +05:30
.github/workflows feat: init and add tests for user registration 2024-01-09 23:31:52 +05:30
.reuse feat: add license details 2024-01-09 23:35:51 +05:30
LICENSES feat: add license details 2024-01-09 23:35:51 +05:30
tests fix: admin account creation 2024-01-10 20:51:16 +05:30
tests-examples feat: init and add tests for user registration 2024-01-09 23:31:52 +05:30
.env fix: forgejo mailer config 2024-01-10 20:43:11 +05:30
.gitignore feat: init and add tests for user registration 2024-01-09 23:31:52 +05:30
.nvmrc feat: init and add tests for user registration 2024-01-09 23:31:52 +05:30
.woodpecker.yml fix: forgejo mailer config 2024-01-10 20:43:11 +05:30
docker-compose.yml fix: forgejo mailer config 2024-01-10 20:43:11 +05:30
Dockerfile feat: build CI base img to speedup exec 2024-01-10 02:25:25 +05:30
Makefile feat: create admin account on startup 2024-01-10 17:49:14 +05:30
package-lock.json feat: init and add tests for user registration 2024-01-09 23:31:52 +05:30
package.json feat: init and add tests for user registration 2024-01-09 23:31:52 +05:30
playwright.config.ts feat: init and add tests for user registration 2024-01-09 23:31:52 +05:30
README.md feat: basic README 2024-01-10 02:08:37 +05:30

status-badge


Playwright based integration testing for Forgejo

Development

Dependencies

  • Node v20.10.0: We use 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). On my development, I test only on Firefox and Chromium, so I run:

npx playwright test --project=firefox \
	&& npx playwright test --project=chromium