wp-e2e-tests icon indicating copy to clipboard operation
wp-e2e-tests copied to clipboard

Try setting script timeout for WebDriver

Open alisterscott opened this issue 7 years ago • 2 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

alisterscott avatar May 23 '18 09:05 alisterscott

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?

brbrr avatar May 23 '18 09:05 brbrr

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.

alisterscott avatar May 23 '18 09:05 alisterscott