mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
🔧 Make render-wasm visual regression tests use gpu (#8189)
This commit is contained in:
parent
e02536f8d4
commit
20c8fbf314
@ -64,6 +64,11 @@ export default defineConfig({
|
||||
...devices["Desktop Chrome"],
|
||||
viewport: { width: 1920, height: 1080 }, // Add custom viewport size
|
||||
deviceScaleFactor: 2,
|
||||
launchOptions: {
|
||||
args: [
|
||||
'--enable-gpu',
|
||||
],
|
||||
}
|
||||
},
|
||||
testDir: "./playwright/ui/render-wasm-specs",
|
||||
snapshotPathTemplate: "{testDir}/{testFilePath}-snapshots/{arg}.png",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user