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:
- Start the Demo Server.
- Go to the demo's directory
demos-ts/testing/cypress. - Run
npm install. -
Run the test with
npm run testor Cypress' test UI withnpm run test-ui.
After the test has completed, you can find a video in cypress/videos
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.