瀏覽代碼

test: restore old test behaviour

Ifedapo Olarewaju 6 年之前
父節點
當前提交
88d7f135be
共有 2 個文件被更改,包括 3 次插入9 次删除
  1. 1 1
      .travis.yml
  2. 2 8
      test/endtoend/wdio.remote.conf.js

+ 1 - 1
.travis.yml

@@ -23,7 +23,7 @@ services:
 script:
 - npm run build
 - npm run test
-- '{ if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then npm run test:acceptance -- --suite providers; fi } || true'
+- '{ if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then npm run test:acceptance; fi } || true'
 - npm run uploadcdn
 env:
   global:

+ 2 - 8
test/endtoend/wdio.remote.conf.js

@@ -21,7 +21,7 @@ exports.config = Object.assign(base.config, {
 
   // If you only want to run your tests until a specific amount of tests have failed use
   // bail (default is 0 - don't bail, run all tests).
-  bail: 0,
+  bail: 3,
 
   // Set a base URL in order to shorten url command calls. If your url parameter starts
   // with "/", then the base url gets prepended.
@@ -33,11 +33,5 @@ exports.config = Object.assign(base.config, {
   // commands. Instead, they hook themselves up into the test process.
   services: ['static-server', 'sauce', new CompanionService()],
   user: process.env.SAUCE_USERNAME,
-  key: process.env.SAUCE_ACCESS_KEY,
-  // Options to be passed to Mocha.
-  // See the full list at http://mochajs.org/
-  mochaOpts: {
-    ui: 'dot',
-    timeout: 60000
-  }
+  key: process.env.SAUCE_ACCESS_KEY
 })