Skip to content

[BUG] UI mode does not show webServer startup errors #21941

Closed

Description

  1. npm init playwright test2303
  2. cd test2303
  3. Add this to your config
webServer: {
  command: 'sleep 43434',
  port: 8080,
},
  1. npx http-server . in some other directory to start a server
  2. npx playwright test --ui

Expected: I see an error that the webServer has failed to launch since the port is in use
Actual: Exit code 1 without any error

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

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions