Commit 5a40c8e
committed
rewrite Playwright visual regression tests
Rewrite canvas snapshot tests for the new demo UI. Split the single
monolithic test into 8 focused tests: default render, zoom, resize,
rotation (180/90/120), border radius, and exported image. Also test
that getImageScaledToCanvas produces a clean image without color
overlay (#420). Add Playwright to CI pipeline.1 parent 4b12bd9 commit 5a40c8e
16 files changed
Lines changed: 80 additions & 8 deletions
File tree
- .github/workflows
- packages/lib/tests
- __screenshots__/canvas.test.ts
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments