-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Hi,
I recently joined a project that uses your framework and came across the following issue.
When I have tests that are using Scenario and Steps structure, test is not failing when it does not find an element. I added below a code snap of how a dummy test method looks:

In the above example, if I run the method and the .exists check returns false, the test continues to check if element is .hittable as well. Snap of logs below:

If I don't use a step in the scenario, just add the code in Given outside of the step, it works properly.
I looked for what could cause this and found that if I comment out lines 85-86 from TABTestCase.swift, the example works as expected.
Can you tell me if this behaviour happened for other projects or if there is a solution? Or can we fix it?
Thanks!