Describe the bug
Automation continues to run after assertion failure and when terminateOnAssertFailure = true
To Reproduce
Steps to reproduce the behavior:
- Create automation request with 3 actions
- Action NO.2 is assertion which is always false (i.e. fails)
- Set
terminateOnAssertFailure = true (under engine configuration)
- Run automation
Expected behavior
Automation is terminated after the 2nd step (i.e. the 3rd step was not executed)
Additional context
Based on savanna-projects/rhino-agent#88