netresearch/typo3-testing-skill / skills/typo3-testing
typo3-testing
FlaggedUse when reproducing defects as failing tests, testing template or rendered output changes, confirming changes on a running TYPO3 instance, or setting up TYPO3 extension tests: unit/functional/E2E, PHPUnit 11-13, mutation testing, final-class mocks (v14), CI matrix across TYPO3 12/13/14.3 LTS, typo3-ci-workflows meta-package, CI failures. Also: transaction rollback, worker crashes, competing requests, testing-framework setup, test matrix, integration/e2e testing, coverage, test generation.
assets/Build/playwright/playwright.config.ts
View on GitHub/**
* Playwright E2E Test Configuration for TYPO3 Extensions
*
* Based on TYPO3 Core configuration:
* @see https://github.com/TYPO3/typo3/blob/main/Build/playwright.config.ts
*/
import { defineConfig } from '@playwright/test';
import config from './tests/playwright/config';
export default defineConfig({
testDir: './tests/playwright',
timeout: 30000,
expect: {
timeout: 10000,
},
fullyParallel: false, // Tests within a file run sequentially (safer for state)
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
workers: process.env.CI ? 4 : undefined, // CI: 4 workers, Local: half of CPUs
reporter: [
['list'],
['html', { outputFolder: '../typo3temp/var/tests/playwright-reports' }],
],
outputDir: '../typo3temp/var/tests/playwright-results',
use: {
baseURL: config.baseUrl,
ignoreHTTPSErrors: true,
trace: 'on-first-retry',
},
projects: [
{
name: 'login setup',
testMatch: /helper\/login\.setup\.ts/,
},
{
name: 'accessibility',
testMatch: /accessibility\/.*\.spec\.ts/,
dependencies: ['login setup'],
use: {
storageState: './.auth/login.json',
},
},
{
name: 'e2e',
testMatch: /e2e\/.*\.spec\.ts/,
dependencies: ['login setup'],
use: {
storageState: './.auth/login.json',
},
},
],
});
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the work | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixes | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation code | Stars: 322k | Updated | Claude CodeCodex | Verified | Install |
| skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy. | Stars: 198k | Updated | Claude CodeCodex | Verified | Install |