Skip to content

Fail the test from another thread #10

@vmachacek

Description

@vmachacek

Hello, I had this question here and I put together sample runnable project here

I have a callback from browser which is orchestrated by playwright - this callback is to report error which happens in the app. Once that happens I know for sure I want to fail the test to save resources. How can I do that?

More specifically I want to fail the test from this line here

Metadata

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