Increase E2E timeouts for default-app template
The new frontend system app takes longer to compile and render on Windows CI runners. Switch from port-based to URL-based server readiness detection and increase expect timeout to 30s to avoid flaky failures on slow runners. Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com> Made-with: Cursor
This commit is contained in:
@@ -24,7 +24,7 @@ export default defineConfig({
|
||||
timeout: 60_000,
|
||||
|
||||
expect: {
|
||||
timeout: 5_000,
|
||||
timeout: 30_000,
|
||||
},
|
||||
|
||||
// Run your local dev server before starting the tests
|
||||
@@ -33,9 +33,9 @@ export default defineConfig({
|
||||
: [
|
||||
{
|
||||
command: 'yarn start app',
|
||||
port: 3000,
|
||||
url: 'http://localhost:3000',
|
||||
reuseExistingServer: true,
|
||||
timeout: 60_000,
|
||||
timeout: 120_000,
|
||||
},
|
||||
{
|
||||
command: 'yarn start backend',
|
||||
|
||||
Reference in New Issue
Block a user