Affects Version/s: None
Fix Version/s: 0.9.250
Windows 7, 64 bit
Set saving screenshots only in failures.
Steps to reproduce:
1. Define at least two steps (which marked by @Step annotations)
2. Make sure that one of these steps invokes another in its body.
3. Make the situation, where first step (main step) will be failed, and nested step is not failed.
public void mainStep()
// main step body
nestedStep(); // invoke of nested step
throw new Error("some error"); // raise an error
// other code (optional)
public void nestedStep()
// nested step body
We see correct error description, and screenshot with this error (from main step).
We see incorrect error description (somewhere from nested Step, and screenshot from last error, in case if it was, of course, otherwise - we don't see any screenshots)
P.S. I used framework version 0.9.244