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?
