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
Scenario: A Test Scenario
When test step1
And test step2
And test step3
If test step1 is failed, I want to continue run step2 and 3.
So I try to turn on soft assertion by: StepEventBus.getEventBus().softAssertsActive(); @before
public void initTest() {
StepEventBus.getEventBus().enableSoftAsserts();
}
But seems this is not worked, step2 and 3 are skipped after step1 failed
The text was updated successfully, but these errors were encountered:
Thank you, my testsuit run with "CucumberWithSerenity", If I need to let step2 continue running regardless step1 pass or fail, is there any other solution?
For example:
Scenario: A Test Scenario
When test step1
And test step2
And test step3
If test step1 is failed, I want to continue run step2 and 3.
So I try to turn on soft assertion by: StepEventBus.getEventBus().softAssertsActive();
@before
public void initTest() {
StepEventBus.getEventBus().enableSoftAsserts();
}
But seems this is not worked, step2 and 3 are skipped after step1 failed
The text was updated successfully, but these errors were encountered: