Now with pre-commit hooks, to stop this ridiculousness. Linty fresh. Pretty. And up-to-date dependencies.
All checks were successful
ci/woodpecker/pr/ci Pipeline was successful

This commit is contained in:
2026-03-09 21:46:03 -03:00
parent 9e692d072b
commit d4a7fc19b6
56 changed files with 905 additions and 1670 deletions

View File

@@ -3,6 +3,8 @@ import { defineConfig, devices } from '@playwright/test';
export default defineConfig({
testDir: 'tests',
testMatch: /.*\.spec\.(ts|js)/,
// Use linux in snapshot paths so local (darwin) runs compare against the same snapshots as CI.
snapshotPathTemplate: '{snapshotDir}/{testFileDir}/{testFileName}-snapshots/{arg}-{projectName}-linux{ext}',
fullyParallel: true,
forbidOnly: !!process.env.CI,
retries: process.env.CI ? 2 : 0,
@@ -13,7 +15,10 @@ export default defineConfig({
trace: 'on-first-retry',
screenshot: 'only-on-failure',
},
projects: [{ name: 'chromium', use: { ...devices['Desktop Chrome'] } }],
projects: [
{ name: 'chromium-desktop', use: { ...devices['Desktop Chrome'] } },
{ name: 'chromium-mobile', use: { ...devices['iPhone 14'] } },
],
webServer: process.env.CI
? undefined
: {