Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@

# testing
/coverage
/test-results/
/playwright-report/

# next.js
/.next/
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ build
# Testing
coverage
test-results
playwright-report

# Vercel
.vercel
Expand Down
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,24 @@ You can start editing the page by modifying `app/page.tsx`. The page auto-update

This project uses [`next/font`](https://nextjs.org/docs/app/building-your-application/optimizing/fonts) to automatically optimize and load [Geist](https://vercel.com/font), a new font family for Vercel.

## Graph end-to-end tests

Install the test browsers once, then run the suite:

```bash
pnpm exec playwright install chromium firefox webkit
pnpm test:e2e
```

The suite builds the site and starts a production server on port 49300. It does
not start or use the development server. It checks Chromium, Firefox, and WebKit
with desktop and iPhone viewports. Tests cover rapid drag release, pointer cancellation,
capture loss, multiple pointers, graph links, zoom, note navigation, filters,
and motion controls. Any uncaught browser error fails the test.

Run one browser with `pnpm test:e2e --project=firefox`. After a failure, run
`pnpm exec playwright show-report` to inspect the screenshot and trace.

## Learn More

To learn more about Next.js, take a look at the following resources:
Expand Down
Loading
Loading