Parcourir la source

test: fix running e2e test on windows (#9909)

zrh122 il y a 7 ans
Parent
commit
bd6cea0973
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      test/e2e/nightwatch.config.js

+ 2 - 1
test/e2e/nightwatch.config.js

@@ -50,7 +50,8 @@ module.exports = {
       'desiredCapabilities': {
         'browserName': 'phantomjs',
         'javascriptEnabled': true,
-        'acceptSslCerts': true
+        'acceptSslCerts': true,
+        'phantomjs.binary.path': require('phantomjs-prebuilt').path
       }
     }
   }