Automattic / wp-e2e-tests

Automated end-to-end tests for WordPress.com

Home Page:https://github.com/Automattic/wp-calypso

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Try setting script timeout for WebDriver

alisterscott opened this issue · comments

We currently use:

.setTimeouts( { implicit: webDriverImplicitTimeOutMS, pageLoad: webDriverPageLoadTimeOutMS } );
as of #1216

I noticed there is also a script value we can set - perhaps we should experiment to see whether this makes a difference to stability of tests

The default value is 30 sec. I've checked our executeScript calls - and they looks like relatively short term. Did you saw any timeout errors related to script execution?

Did you saw any timeout errors related to script execution?

Only on IE11, but I've been trying to avoid executing JavaScript against IE11 generally. Should we just make it the same as page load to be consistent? Or not worry about it. I'm happy either way.