Open
Description
When chaining actions/assertions in a test, I have one of two approaches:
- I want to see what works - errors are logged, but the test continues
- I want to abort on the first failure, as this might've been the precondition for something else - something that I want to prevent from happening if the page is not in proper state
As this is a TestCase wide decision, we should have TestInstance.abortOnFailure(true)
to engage this mode. The Suite
might allow to configure this for all its tests. For this we could do with
{
options: {
abortOnFailure: true
},
// tests...
};