Skip to content

About

Boilerplate to write E2E tests for Ogma using Playwright

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

Ogma + Playwright testing boilerplate

Ogma logo Playwright logo

About

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).

How to use

Installation

Use Node.js 24 and npm 11.

nvm use
npm i

Run

npm t

Run in headful mode

npm run test:ui

License

Apache 2.0

About

Boilerplate to write E2E tests for Ogma using Playwright

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages