wdio.local.conf.js 1.1 KB

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