protractor.conf.js 687 B

12345678910111213141516171819202122232425
  1. // See https://github.com/angular/protractor/blob/master/docs/referenceConf.js
  2. // for full protractor config reference.
  3. var browserCapabilities = require('./browser_capabilities');
  4. var SAUCE_ACCESS_KEY =
  5. process.env.SAUCE_ACCESS_KEY.split('').reverse().join('');
  6. exports.config = {
  7. sauceUser: process.env.SAUCE_USERNAME,
  8. sauceKey: SAUCE_ACCESS_KEY,
  9. multiCapabilities: browserCapabilities,
  10. // Testing framework used for spec file.
  11. framework: 'jasmine2',
  12. // Relative path to spec (i.e., tests).
  13. specs: ['protractor_spec.js'],
  14. jasmineNodeOpts: {
  15. // Timeout in ms before a test fails.
  16. defaultTimeoutInterval: 30 * 60 * 1000
  17. }
  18. };