I am running
Sauce Connect 3.0-r28, build 43
SeleniumServer 2.33
py.saunter 0.61
using WebDriver with python bindings.
When I run my tests locally, I have no trouble.
When I run tests on SauceLabs ondemand, it appears the teardown method is not called. My test results are "Error" with the message "Test did not see a new command for 90 seconds. Timing out." When I add an explicit teardown statement to a test script, i.e., self.driver.quit(), then the test does end and is updated with Pass/Fail as expected although there is a WebDriver exception that I am digging through:
E WebDriverException: Message: u'OKOK'
lib/python2.7/site-packages/selenium/webdriver/remote/errorhandler.py:158: WebDriverException
Here is a gist with the test script that leads to an Error and a test script that yields a Pass/Fail result:
As I said, I'm digging through the stacktrace but wondered if anyone might have encountered this and has advice. My expectation was that setup and teardown methods for SauceLabs were baked into py.saunter, so I'm not sure if this is a bug or if my expectations are wrong.
Thanks!
Carol
--