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

fgeierst/typo3-playwright-demo

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages