Skip to content

[Bug]: When using --ui the test just say "Failed" with no context at all #35152

@adrianwix

Description

@adrianwix

Version

1.46.1

Steps to reproduce

  • Run playwright with --ui
  • Run the desired test

Expected behavior

  • Test runs and it success or fails and shows why

Actual behavior

It just says "Failed" with absolutely no information

Image

Additional context

context.close();
_page.close();

Was making it fail when using --ui but not when using --debug. For the love of god is anything, ANYTHING fails inside your library please report it to the user. Not a "Failed" message that says nothing. I only made it work because of intuition.

Environment

System:
    OS: macOS 15.0.1
    CPU: (8) arm64 Apple M2
    Memory: 64.47 MB / 16.00 GB
  Binaries:
    Node: 20.10.0 - ~/.nvm/versions/node/v20.10.0/bin/node
    Yarn: 4.3.1 - ~/.nvm/versions/node/v20.10.0/bin/yarn
    npm: 10.2.3 - ~/.nvm/versions/node/v20.10.0/bin/npm
  IDEs:
    VSCode: 1.98.0 - /usr/local/bin/code
  Languages:
    Bash: 3.2.57 - /bin/bash
  npmPackages:
    @playwright/test: ^1.46.1 => 1.46.1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions