Skip to content

Commit

Permalink
#101: Strange timeout value printed when using SelenideAddons.wrapAss…
Browse files Browse the repository at this point in the history
…ertionError()
  • Loading branch information
Marcel Pfotenhauer committed Aug 29, 2019
1 parent 961b098 commit 190f84c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ public static void wrapAssertionError(final Runnable runnable)
SelenideLogger.commitStep(new SelenideLog("Assertion error", message), e);
if (!driver.config().assertionMode().equals(AssertionMode.SOFT))
{
throw UIAssertionError.wrap(driver, e, System.currentTimeMillis());
throw UIAssertionError.wrap(driver, e, 0);
}
}
}
Expand Down

0 comments on commit 190f84c

Please sign in to comment.