I.waitForURL()
does not fail the test when its timeout happens
#4346
Labels
I.waitForURL()
does not fail the test when its timeout happens
#4346
What are you trying to achieve?
Wait for the page to navigate to a certain URL and fail the test if it doesn't navigate within the defined timeout
What do you get instead?
The test does not fail. As per the source code, we should never get to
I.click("#fake-id");
, but we do. Also, In the below source code, the log afterI.waitForURL()
is never printed. Where does it disappear to? The log that's printed is the one that's within the healer,HEALING A FAILED CLICK STEP:#fake-id
.This is what is displayed on the logs after the test run:
Details
The text was updated successfully, but these errors were encountered: