Playwright Testing Demo
This demo shows how to use Playwright for testing a yFiles for HTML web application.
The application under test is the Simple Testable App.
To run the test:
- Start the Demo Server.
- Go to the demo's directory
Run the test with
npm run testor Playwright's test UI with
npm run test-ui.
The test is run in Chrome, Firefox, and Webkit in headless mode.
After running the test, Playwright automatically creates a directory
test-results and stores its result there. Run
npm run show-report to view a summary of the results.