Cypress Testing Demo

This demo shows how to use Cypress 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/cypress.
  3. Run npm install.
  4. Run the test with npm run test or Cypress' test UI with npm run test-ui.

In contrast to the other testing demos, this test suite does not perform interactive graph editing with emulated mouse events due to limited capabilities of Cypress.

Please note, that this demo assumes that the yFiles demo server is running. You can also change the url in cypress/e2e/yfiles.cy.ts to a running application.