how to continue next steps when assertions fails…in codeceptjs
ex:
First name
Middle name
Last Name
if fails in first name assertion, should be continue next steps for Middle & Last names.
how to continue next steps when assertions fails…in codeceptjs
ex:
First name
Middle name
Last Name
if fails in first name assertion, should be continue next steps for Middle & Last names.
Please suggest me anyone,I am also facing same issue.
Try to add bail to false in codecept options:
{
…
mocha: { bail: false }
…
}
Source: https://github.com/Codeception/CodeceptJS/issues/1582#issuecomment-481626634
We already tried but no luck…Is there any alternative way?
bootstrap: null,
mocha: {bail: true },//false tried both.
name: ‘SampleTest’,
plugins: {
retryFailedStep: {
enabled: true
},
screenshotOnFail: {
enabled: true
}
}
Try this approach How to use Soft assertion