You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
condition:
1.there a soft assertion failed.
2. throw another exception.
e.g.
SeLionAsserts.verifyTrue(false);
throw new ElementNotVisibleException("cannot find element");
if test failed and broke by none SoftAssertion issue, SeLionAssertsListener should not update test result and override it
Actual Behavior
cannot get ElementNotVisibleException in test report, following message overwrite it
"exception": "class java.lang.AssertionError:Multiple (2) soft assertion failures occurred..."
Steps to Reproduce
create a test and add two statements:
SeLionAsserts.verifyTrue(false);
throw new ElementNotVisibleException("cannot find element");
run the case and check report.json, search "testMethods": and check information
The text was updated successfully, but these errors were encountered:
SeLion Version
1.2.0 and 2.0 SNAPSHOT
Component
com.paypal.selion.internal.platform.asserts.SeLionAssertsListener
Expected Behavior
condition:
1.there a soft assertion failed.
2. throw another exception.
e.g.
SeLionAsserts.verifyTrue(false);
throw new ElementNotVisibleException("cannot find element");
if test failed and broke by none SoftAssertion issue, SeLionAssertsListener should not update test result and override it
Actual Behavior
cannot get ElementNotVisibleException in test report, following message overwrite it
"exception": "class java.lang.AssertionError:Multiple (2) soft assertion failures occurred..."
Steps to Reproduce
create a test and add two statements:
SeLionAsserts.verifyTrue(false);
throw new ElementNotVisibleException("cannot find element");
run the case and check report.json, search "testMethods": and check information
The text was updated successfully, but these errors were encountered: