# joint-playwright-e2e-testing **Repository Path**: mirrors_clientIO/joint-playwright-e2e-testing ## Basic Information - **Project Name**: joint-playwright-e2e-testing - **Description**: E2E testing tutorial with JointJS & Playwright - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-06-30 - **Last Updated**: 2026-03-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # E2E Testing: JointJS & Playwright This git repository is intended for instructional purposes. It is the source code that accompanies a JointJS blog post "E2E Testing: JointJS & Playwright" which can be found [here](https://resources.jointjs.com/tutorial/testing-e2e-playwright). ### Dependencies Make sure you have the following dependencies installed on your system: - [Node.js (v12 or above)](https://nodejs.org/en/) - git #### Setup Clone this repository. ``` git clone git@github.com:clientIO/joint-playwright-e2e-testing.git ``` Change into the `joint-playwright-e2e-testing` directory. ``` cd joint-playwright-e2e-testing ``` Install Playwright dependencies, and supported browsers. This tutorial and project uses ` "@playwright/test": "^1.22.1"`. ``` npm install # install supported browsers npx playwright install ``` Change into app directory. Install app dependencies, and serve the JointJS app. ``` cd app npm install npm run dev ``` You should be able to view the demo at `http://localhost:3000/`. You are now ready to run tests from the project root. Change directory to root if currently in app directory, and run the tests. ``` cd .. npm run test ``` NOTE: Visual Regression tests should fail on the first test run as explained in the accompanying tutorial. This is because no "golden snapshots" of the application exist yet.