7. Juli 2023
TYPO3 Fluid Component end-to-end testing with Playwright.
My setup for testing TYPO3 frontend code programmatically leverages Playwright to run end-to-end tests on individual Fluid Components. Utilizing Fluid Styleguide’s fixture files, I can populate each component with mock data, enabling isolated testing of each component.
As an extra step, Axe-core is used as a plugin in Playwright for automated accessibility testing.
Playwright runs its tests using headless Chromium, Webkit, and Firefox browsers. For me this turned out especially usefull after updating NPM dependencies:
npx taze major -w && ddev npm i && npx playwright test.