webdriverio-community / wdio-cucumberjs-json-reporter

A WDIO reporter that creates CucumberJS JSON files for WebdriverIO
https://webdriver.io/docs/wdio-cucumberjs-json-reporter
MIT License
22 stars 29 forks source link

Using Soft Assertion in WDIO #479

Closed Joothi closed 3 months ago

Joothi commented 3 months ago

Hi,

Can anyone suggest, how to use soft assert in WDIO.

My scenario is I am validating around 50 fields, if the 5th field doesn't match WDIO is skipping other and proceeding with other scenario.

But I need that step to fail and continue to next step. This can achieved in Selenium with Java but I am not sure In Type script.

It would be great if someone support.

Thanks in advance.

christian-bromann commented 3 months ago

Duplicate of https://github.com/webdriverio/expect-webdriverio/issues/227