selenium: Increase mochaOpts.timeout from 20s to 60s
authorTimo Tijhof <krinklemail@gmail.com>
Wed, 2 May 2018 03:40:10 +0000 (04:40 +0100)
committerZfilipin <zfilipin@wikimedia.org>
Wed, 2 May 2018 14:50:19 +0000 (14:50 +0000)
I was unable to get the tests passing locally in MediaWiki-Vagrant.
The main slowdown appears to be from MWBot logging-in for each
command anew. Which works fine, but just seems to be quite slow.

Change-Id: I3c0abc79cac48c26d952b0bbe73574aa48b2d70e

tests/selenium/wdio.conf.js

index 024801a..00fce66 100644 (file)
@@ -175,7 +175,7 @@ exports.config = {
        // See the full list at http://mochajs.org/
        mochaOpts: {
                ui: 'bdd',
-               timeout: 20000
+               timeout: 60000
        },
 
        // =====