wdio.remote.config.js 765 B

1234567891011121314151617181920212223242526272829
  1. const common = require('./wdio.common.conf');
  2. const path = require('path');
  3. /*/
  4. Config for running saucelabs against a hosted server
  5. /*/
  6. exports.config = Object.assign({}, common.config, {
  7. baseUrl: process.env.TEST_SERVER || 'https://send.dev.mozaws.net',
  8. exclude: [
  9. // the /test endpoint only exists on localhost
  10. path.join(__dirname, './integration/unit-tests.js'),
  11. // we don't have access to the fs in this context
  12. path.join(__dirname, './integration/download-tests.js')
  13. ],
  14. capabilities: [
  15. { browserName: 'firefox' },
  16. { browserName: 'chrome' },
  17. { browserName: 'MicrosoftEdge' },
  18. {
  19. browserName: 'safari'
  20. }
  21. ],
  22. services: ['sauce'],
  23. user: process.env.SAUCE_USERNAME,
  24. key: process.env.SAUCE_ACCESS_KEY
  25. });