Skip to content

Latest commit

 

History

History
67 lines (43 loc) · 1.02 KB

README.md

File metadata and controls

67 lines (43 loc) · 1.02 KB

Playwright example

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.

Setup

Install Node project dependencies:

npm install

Install browser binaries:

npx playwright install

Usage

Start the example server via Docker:

docker-compose up -d example

Run the tests:

npm test

Run the tests in Docker:

docker-compose run --rm playwright

Stop the example server:

docker-compose down

Show traces for failed tests:

bin/show-trace.sh

Webdriver

An alternative example end-to-end testing setup using the W3C WebDriver standard can be found at blueimp/wdio.

License

Released under the MIT license.

Author

Sebastian Tschan