Compares the preview server with real nginx in tests
The preview server must behave like the real server, or Lighthouse and the browser tests prove the wrong thing. The tests also cover the new URLs in a real browser: one redirect, one title, a clean hydration. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -17,7 +17,8 @@ export default defineConfig({
|
||||
// moet opgelost worden en niet langer mogen duren.
|
||||
testTimeout: process.env.CI ? 180_000 : 60_000,
|
||||
hookTimeout: 60_000,
|
||||
// Bouwt niets; controleert alleen dat dist/client er is
|
||||
globalSetup: ['./e2e/support/globalSetup.ts'],
|
||||
// De seed voor de property-tests (zoals vite.config.ts); bouwt niets,
|
||||
// controleert alleen dat dist/client er is
|
||||
globalSetup: ['./config/testSeed.ts', './e2e/support/globalSetup.ts'],
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user