Skip to content

[Question] Error: Timed out waiting 60000ms from config.webServer. #16834

Closed

Description

I have playwright.config.ts as following with SvelteKit:

import type { PlaywrightTestConfig } from '@playwright/test';

const config: PlaywrightTestConfig = {
	fullyParallel: true,
	webServer: {
		command: 'npm run build && npm run preview',
		port: 4173
	}
};

export default config;

I got an error Error: Timed out waiting 60000ms from config.webServer., so I set timeout with different values, but I keep getting the same error.

I tried globalTimeout but the it returns the same error.

How to solve this error?

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions