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:

  1. Start the Demo Server.
  2. Go to the demo's directory demos-ts/testing/playwright.
  3. Run npm install.
  4. Run the test with npm run test or 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.