diff options
| author | Valentin Popov <valentin@popov.link> | 2026-02-05 18:38:25 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-02-05 18:38:48 +0300 |
| commit | ee32dedf61e2d2ab6704fd40eec2a9e436f2114f (patch) | |
| tree | 2187c5908e71dff43061a1fa71be26e43f53bbee /playground/package.json | |
| parent | 0c71c44599f4a0738c9819e3ea578bca4609ff12 (diff) | |
| download | strapi-plugin-checkbox-list-ee32dedf61e2d2ab6704fd40eec2a9e436f2114f.tar.xz strapi-plugin-checkbox-list-ee32dedf61e2d2ab6704fd40eec2a9e436f2114f.zip | |
Enhance testing and integration for checkbox-list custom field
- Updated Gitea workflow to trigger on pushes to the master branch and refined job configurations for testing and E2E processes.
- Added Jest and Playwright configurations for integration and E2E testing.
- Introduced new checkbox-item API with corresponding controller, service, and routes.
- Created integration tests for the checkbox-list functionality, ensuring proper handling of required fields and default values.
- Updated package.json and package-lock.json to include necessary dependencies for testing.
Diffstat (limited to 'playground/package.json')
| -rw-r--r-- | playground/package.json | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/playground/package.json b/playground/package.json index 50c5f78..100b4a5 100644 --- a/playground/package.json +++ b/playground/package.json @@ -9,9 +9,11 @@ "deploy": "strapi deploy", "dev": "strapi develop", "develop": "strapi develop", + "e2e": "playwright test", "seed:example": "node ./scripts/seed.js", "start": "strapi start", "strapi": "strapi", + "test:integration": "NODE_ENV=test STRAPI_DISABLE_ADMIN=true jest --runInBand", "upgrade": "npx @strapi/upgrade latest", "upgrade:dry": "npx @strapi/upgrade latest --dry" }, @@ -29,9 +31,12 @@ "styled-components": "^6.0.0" }, "devDependencies": { + "@playwright/test": "^1.53.0", "@types/node": "^20", "@types/react": "^18", "@types/react-dom": "^18", + "jest": "^29.7.0", + "supertest": "^7.0.0", "typescript": "^5" }, "engines": { |
