🐛(frontend) improve e2e tests avoiding race condition from mocks

Reorder mock setup with page.route so that it takes place before nav.
This commit is contained in:
Laurent Bossavit
2025-01-16 12:30:35 +01:00
committed by Laurent Bossavit
parent 8a2b0d0a76
commit e7af1fd591
8 changed files with 168 additions and 87 deletions

View File

@@ -9,7 +9,7 @@ const baseURL = `http://localhost:${PORT}`;
*/
export default defineConfig({
// Timeout per test
timeout: 30 * 1000,
timeout: 10 * 1000,
testDir: './__tests__',
outputDir: './test-results',