test(e2e): migra gli end-to-end a CommonJS e stabilizza l'esecuzione Playwright

- aggiunge configurazione playwright.config.cjs per compatibilita runtime
- aggiorna playwright.config.ts con progetto Mobile Chrome
- migra i test E2E da .js a .spec.cjs
- rimuove i vecchi file E2E non piu usati
- allinea i test visual con snapshot baseline aggiornate
This commit is contained in:
2026-02-12 19:33:54 +01:00
parent 0b154d9e56
commit be286ec069
21 changed files with 633 additions and 37 deletions

View File

@@ -50,14 +50,10 @@ export default defineConfig({
// },
/* Test against mobile viewports. */
// {
// name: 'Mobile Chrome',
// use: { ...devices['Pixel 5'] },
// },
// {
// name: 'Mobile Safari',
// use: { ...devices['iPhone 12'] },
// },
{
name: 'Mobile Chrome',
use: { ...devices['Pixel 5'] },
},
/* Test against branded browsers. */
// {