Skip to content

A full-featured CRM built with React, shadcn/ui, and Supabase.

use chromium for both mobile and desktop tests

ThieryMichelaeeb87059b6e
diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml
index 6f48ea0c..b6d3f223 100644
--- a/.github/workflows/check.yml
+++ b/.github/workflows/check.yml
@@ -86,7 +86,7 @@ jobs:
- name: Install dependencies
run: npm ci
- name: Install Playwright Browsers
- run: npx playwright install --with-deps webkit chromium
+ run: npx playwright install --with-deps chromium
- name: Install wait-on and serve
run: npm install -g wait-on serve
- name: Run Playwright tests
diff --git a/playwright.config.ts b/playwright.config.ts
index 39d84925..31a01a2e 100644
--- a/playwright.config.ts
+++ b/playwright.config.ts
@@ -38,8 +38,8 @@ export default defineConfig({
/* Configure projects for major browsers */
projects: [
{
- name: "webkit",
- use: { ...devices["Desktop Safari"] },
+ name: "chromium",
+ use: { ...devices["Desktop Chrome"] },
},
/* Test against mobile viewports. */