diff --git a/packages/lib/playwright.config.ts b/packages/lib/playwright.config.ts index ae4df6e..7cd865f 100644 --- a/packages/lib/playwright.config.ts +++ b/packages/lib/playwright.config.ts @@ -9,6 +9,12 @@ export default defineConfig({ baseURL: `http://127.0.0.1:${port}`, trace: 'on-first-retry', }, + projects: [ + { + name: 'chromium', + use: { ...devices['Desktop Chrome'] }, + }, + ], webServer: { command: `pnpm --filter react-avatar-editor-demo dev --host --port ${port}`, url: `http://127.0.0.1:${port}/index.html`, diff --git a/packages/lib/tests/canvas.test.ts-snapshots/basic-test-1-chromium-darwin.png b/packages/lib/tests/canvas.test.ts-snapshots/basic-test-1-chromium-darwin.png new file mode 100644 index 0000000..4e5aa41 Binary files /dev/null and b/packages/lib/tests/canvas.test.ts-snapshots/basic-test-1-chromium-darwin.png differ diff --git a/packages/lib/tests/canvas.test.ts-snapshots/basic-test-1-darwin.png b/packages/lib/tests/canvas.test.ts-snapshots/basic-test-1-darwin.png deleted file mode 100644 index 6b5f9fc..0000000 Binary files a/packages/lib/tests/canvas.test.ts-snapshots/basic-test-1-darwin.png and /dev/null differ diff --git a/packages/lib/tests/canvas.test.ts-snapshots/basic-test-2-chromium-darwin.png b/packages/lib/tests/canvas.test.ts-snapshots/basic-test-2-chromium-darwin.png new file mode 100644 index 0000000..a32b819 Binary files /dev/null and b/packages/lib/tests/canvas.test.ts-snapshots/basic-test-2-chromium-darwin.png differ diff --git a/packages/lib/tests/canvas.test.ts-snapshots/basic-test-2-darwin.png b/packages/lib/tests/canvas.test.ts-snapshots/basic-test-2-darwin.png deleted file mode 100644 index d6fdfe2..0000000 Binary files a/packages/lib/tests/canvas.test.ts-snapshots/basic-test-2-darwin.png and /dev/null differ diff --git a/packages/lib/tests/canvas.test.ts-snapshots/basic-test-3-chromium-darwin.png b/packages/lib/tests/canvas.test.ts-snapshots/basic-test-3-chromium-darwin.png new file mode 100644 index 0000000..428095a Binary files /dev/null and b/packages/lib/tests/canvas.test.ts-snapshots/basic-test-3-chromium-darwin.png differ diff --git a/packages/lib/tests/canvas.test.ts-snapshots/basic-test-3-darwin.png b/packages/lib/tests/canvas.test.ts-snapshots/basic-test-3-darwin.png deleted file mode 100644 index 94b6884..0000000 Binary files a/packages/lib/tests/canvas.test.ts-snapshots/basic-test-3-darwin.png and /dev/null differ diff --git a/packages/lib/tests/canvas.test.ts-snapshots/basic-test-4-darwin.png b/packages/lib/tests/canvas.test.ts-snapshots/basic-test-4-chromium-darwin.png similarity index 100% rename from packages/lib/tests/canvas.test.ts-snapshots/basic-test-4-darwin.png rename to packages/lib/tests/canvas.test.ts-snapshots/basic-test-4-chromium-darwin.png diff --git a/packages/lib/tests/canvas.test.ts-snapshots/basic-test-5-darwin.png b/packages/lib/tests/canvas.test.ts-snapshots/basic-test-5-chromium-darwin.png similarity index 100% rename from packages/lib/tests/canvas.test.ts-snapshots/basic-test-5-darwin.png rename to packages/lib/tests/canvas.test.ts-snapshots/basic-test-5-chromium-darwin.png diff --git a/packages/lib/tests/canvas.test.ts-snapshots/basic-test-6-darwin.png b/packages/lib/tests/canvas.test.ts-snapshots/basic-test-6-chromium-darwin.png similarity index 100% rename from packages/lib/tests/canvas.test.ts-snapshots/basic-test-6-darwin.png rename to packages/lib/tests/canvas.test.ts-snapshots/basic-test-6-chromium-darwin.png