This is a boilerplate for testing web applications using Ogma and Playwright. It will show you how to use Ogma to create a graph and how to use Playwright to test and interact with your visualisation. It includes tests written in TypeScript, a test for a simple click on a node and camera positioning, and a test for screenshot testing with external webfont icons (Lucide).
Use Node.js 24 and npm 11.
nvm use
npm inpm tnpm run test:uiApache 2.0