mirror of
https://github.com/penpot/penpot.git
synced 2025-06-24 17:27:01 +02:00
✨ Setup temporary visual regression testing for the design system
This commit is contained in:
parent
c3c6879a2f
commit
d4dc87a740
4 changed files with 21 additions and 2 deletions
|
@ -39,8 +39,17 @@ export default defineConfig({
|
|||
/* Configure projects for major browsers */
|
||||
projects: [
|
||||
{
|
||||
name: "chromium",
|
||||
name: "default",
|
||||
use: { ...devices["Desktop Chrome"] },
|
||||
testDir: "./playwright/ui/specs",
|
||||
},
|
||||
{
|
||||
name: "ds",
|
||||
use: { ...devices["Desktop Chrome"] },
|
||||
testDir: "./playwright/ui/visual-specs",
|
||||
expect: {
|
||||
toHaveScreenshot: { maxDiffPixelRatio: 0.01 },
|
||||
},
|
||||
},
|
||||
],
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue