Skip to content

terminateOnAssertFailure - Does not terminate while cannot find element. #23

@gravity-api

Description

@gravity-api

Describe the bug
Automation continues to run after assertion failure and when terminateOnAssertFailure = true

To Reproduce
Steps to reproduce the behavior:

  1. Create automation request with 3 actions
  2. Action NO.2 is assertion which is always false (i.e. fails)
  3. Set terminateOnAssertFailure = true (under engine configuration)
  4. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions