wdio.local.conf.js 1.0 KB

123456789101112131415161718192021222324252627282930
  1. const base = require('./wdio.base.conf')
  2. exports.config = Object.assign(base.config, {
  3. capabilities: [
  4. { browserName: 'firefox' }
  5. // { browserName: 'MicrosoftEdge', version: '14.14393', platform: 'Windows 10' },
  6. // { browserName: 'safari', version: '11.0', platform: 'macOS 10.12' }
  7. ],
  8. // If you only want to run your tests until a specific amount of tests have failed use
  9. // bail (default is 0 - don't bail, run all tests).
  10. bail: 0,
  11. // Set a base URL in order to shorten url command calls. If your url parameter starts
  12. // with "/", then the base url gets prepended.
  13. baseUrl: 'http://localhost',
  14. // Test runner services
  15. // Services take over a specific job you don't want to take care of. They enhance
  16. // your test setup with almost no effort. Unlike plugins, they don't add new
  17. // commands. Instead, they hook themselves up into the test process.
  18. services: ['static-server'],
  19. // Options to be passed to Mocha.
  20. // See the full list at http://mochajs.org/
  21. mochaOpts: {
  22. ui: 'dot',
  23. timeout: 60000
  24. }
  25. })