Example setup for the Playwright end-to-end testing framework.
Includes an example email application with file attachment support and tests to cover its functionality.
Install Node project dependencies:
npm installInstall browser binaries:
npx playwright installStart the example server via Docker:
docker-compose up -d exampleRun the tests:
npm testRun the tests in Docker:
docker-compose run --rm playwrightStop the example server:
docker-compose downShow traces for failed tests:
bin/show-trace.shAn alternative example end-to-end testing setup using the W3C WebDriver standard can be found at blueimp/wdio.
Released under the MIT license.