Files
strapi-plugin-checkbox-list/playground/playwright.config.ts
Valentin Popov ee32dedf61
Some checks failed
RenovateBot / renovate (push) Successful in 27s
Test / Basic (push) Failing after 1m43s
Test / E2E (push) Has been skipped
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.
2026-02-05 19:38:48 +04:00

18 lines
350 B
TypeScript

import { defineConfig } from '@playwright/test';
const baseURL = process.env.PLAYWRIGHT_BASE_URL ?? 'http://127.0.0.1:1337';
export default defineConfig({
testDir: './e2e',
timeout: 120_000,
expect: {
timeout: 10_000,
},
retries: process.env.CI ? 1 : 0,
use: {
baseURL,
headless: true,
trace: 'on-first-retry',
},
});