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
Is there anyway we can fail the respective step in cucumber WDIO instead of making fail at last step.
For example:
Given As a admin user I am able to see the dashboard in Admin View
And I am able to see the admin logo
Then I am able to add users
In the above, if I am adding softAssert in Given, And, Then, in case of failure at Given I can able to see that failure occurs in last step only(Then).
I am using Multiple Cucumber HTML Report, the consolidated failure is shown in the flush and marking the Given as PASS. This makes the report invalid to the business.
If you want the execution to reach the end, I don't think that's possible, at least without messing with the reporters code. I guess you could potentially modify the report your self based on the information of the failure...
Hi Alfonso,
Is there anyway we can fail the respective step in cucumber WDIO instead of making fail at last step.
For example:
Given As a admin user I am able to see the dashboard in Admin View
And I am able to see the admin logo
Then I am able to add users
In the above, if I am adding softAssert in Given, And, Then, in case of failure at Given I can able to see that failure occurs in last step only(Then).
I am using Multiple Cucumber HTML Report, the consolidated failure is shown in the flush and marking the Given as PASS. This makes the report invalid to the business.
@alfonso-presa could you help on this?
The text was updated successfully, but these errors were encountered: