Skip to content
Snippets Groups Projects
Commit 621705d1 authored by felmer's avatar felmer
Browse files

SSDM-2437: re-throws exceptions as AssertionError in...

SSDM-2437: re-throws exceptions as AssertionError in JsTestCommonSelenium.runTests(). Hopfully this makes failed V3 API tests visible on Jenkins.

SVN: 34568
parent 70b0d0e5
No related branches found
No related tags found
No related merge requests found
...@@ -145,6 +145,9 @@ public class JsTestCommonSelenium extends SeleniumTest ...@@ -145,6 +145,9 @@ public class JsTestCommonSelenium extends SeleniumTest
Assert.assertTrue("JUnit test report is empty", junitReport.length() > 0); Assert.assertTrue("JUnit test report is empty", junitReport.length() > 0);
Assert.assertEquals(0, failedCount); Assert.assertEquals(0, failedCount);
} catch (Throwable t)
{
throw new AssertionError("Test runner throws exception: " + t, t);
} finally } finally
{ {
SeleniumTest.driver.switchTo().defaultContent(); SeleniumTest.driver.switchTo().defaultContent();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment