🔧 Make render-wasm visual regression tests use gpu (#8189)

This commit is contained in:
Elena Torró 2026-01-26 11:53:29 +01:00 committed by GitHub
parent e02536f8d4
commit 20c8fbf314
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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",