Closed alexTimosh closed 5 years ago
UPD: This bug appeared at 1.0.1. Version 1.0.0 could play tests in Safari.
This looks like webdriverio integration compatability problem.
Safari uses W3C only spec,
so defineTimeouts should use await this.browser.timeouts(timeouts);
But Codecept uses await this.browser.timeouts('<name of timeout>', timeouts["<name of timeout>"]);
It's not supported by Safari.
Chrome uses second type of assignments, and gets error "unknown error: 'ms' must be a double", if use first type. Cause it should get {type: type, ms: ms}
object instead of {type: ms}
We should search how to fix this error.
p.s Safari 11- support JsonWire Protocol. Safari 12 use W3C without JsonWire protocol Others browsers are backward compatible, as I know This is a problem.
Fixed. @LukoyanovE Thanks a lot!
Tests are failing on Safari and the same are getting executed successfully on other browsers like Chrome and firefox.
CodeceptJS - 2.0.7 Helper being used - WebDriver 5.7.5
Safri version please
Hi @LukoyanovE , Mac - 10.14 and Safari - 12.
And, I am executing my tests on Sauce Labs.
such error appeared Immediately after startup and session was stopped. At the same time test works perfectly on a earlier codeceptjs versions (i.e. ˜0.6).
Details