Skip to content

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.

License

blueimp/playwright-example

Repository files navigation

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

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published