Closed patthiel closed 8 years ago
+1
Also happens to me. I have not looked into whether or not the same issue occurs in Mocha or Cucumber implementations.
+1 waitUntil is one of those vital commands that allows testers to avoided the dreaded browser.pause!
I will look at it asap
@patthiel could you retry with the recent published version?
This works as expected now! 🎉
The problem
When a waitFor command or waitUntil times out, it throws an exception like below.. However, after this error is encountered, the runner fails to end the session where the error was encountered. Leaving many dead browsers open, when running a full suite of integration tests.
Environment
Link to Selenium/WebdriverIO logs
Selenium Logs Wdio Logs
Code To Reproduce Issue
Example Spec
@christian-bromann i don't think this is happening with each framework, so i'm posting it here as a jasmine specific bug. Let me know if you think this is more a wdio bug and i can close this and open it in that project