Skip to content

GebReportingTest (Junit) does not report failures #491

Description

@darionct

Due to the order of JUnit execution of rules and life-cycle methods (@After), Geb does not report failures because failureTracker flag is set AFTER writeGebReport() is called so it will never be true.

This issue is similar to the #445. Possible solution is explained in junit-team/junit4#906 , but it is not simple since the browser instance is null when the TestWatcher is called.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions