feat: publish CodexPi contest snapshot
Some checks are pending
Qualité / tests (push) Waiting to run

This commit is contained in:
CodexPi
2026-11-14 20:23:59 +01:00
commit 995b17a6e2
295 changed files with 36803 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
import { defineConfig, devices } from '@playwright/test'
export default defineConfig({
testDir:'./e2e',
fullyParallel:true,
timeout:30_000,
expect:{timeout:5_000,toHaveScreenshot:{animations:'disabled',maxDiffPixelRatio:.01}},
reporter:process.env.CI?'github':'line',
use:{baseURL:process.env.CODEXPI_E2E_BASE_URL||'http://127.0.0.1:4173',trace:'retain-on-failure',screenshot:'only-on-failure',serviceWorkers:'block'},
webServer:process.env.CODEXPI_E2E_BASE_URL?undefined:{command:'npm run dev -- --port 4173',url:'http://127.0.0.1:4173',reuseExistingServer:!process.env.CI,timeout:120_000},
projects:[
{name:'ordinateur',use:{...devices['Desktop Chrome'],viewport:{width:1440,height:900}}},
{name:'mobile-375',use:{...devices['iPhone 13'],viewport:{width:375,height:812}}},
],
})