Skip to content

Add option to ignore wait_cond() result #243

Open
@ligurio

Description

@ligurio

Imagine we have open tickets that blocks passing wait_cond() statement in a test.
In such cases we can add some option to wait_cond() that inverts old wait_cond()behavior: when condition in wait_cond() is False it sets overall test status XFail with appropriate reason of XFail (say number of ticket 'GH-3301') and when condition in wait_cond() is True it sets overall test status to XPass and test failed. When test has status XPass we should remove option in wait_cond().

NOTE: Behavior described above will work only for non-flaky tests. Otherwise it will be a pain.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featureA new functionality

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions