Skip to content
This repository has been archived by the owner on Dec 13, 2023. It is now read-only.

Latest commit

 

History

History
34 lines (22 loc) · 1.14 KB

README.md

File metadata and controls

34 lines (22 loc) · 1.14 KB

TYPO3 Playwright Demo

End-to-End Testing for TYPO3 CMS with Playwright. This demo shows how to test a frontend user login, see test/login.spec.ts.

Local installation guide

git clone https://github.com/fgeierst/typo3-playwright-demo.git
cd typo3-playwright-demo
ddev start
ddev composer install
ddev snapshot restore --latest

Login via typo3-playwright-demo.ddev.site/ using these credentials:

  • Username: admin
  • Password: password

End-to-end testing

Due to an incompatibility with Alpine Linux, we run Playwright outside the DDEV container. This requires Node to be installed on your machine.

Editor extensions for Visual Studio Code or IntelliJ are recommended.

Install headless browsers

npx playwright install

Run test suite

npm run test