Advertisement
Guest User

Untitled

a guest
Jun 22nd, 2016
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. exports.config = {
  2.  
  3. framework: 'jasmine2',
  4.  
  5. // NEIL EDITS
  6. sauceUser: process.env.SAUCE_USERNAME,
  7. sauceKey: process.env.SAUCE_ACCESS_KEY,
  8.  
  9. multiCapabilities: [{
  10. browserName: 'chrome',
  11. version: '41',
  12. platform: 'Windows 7',
  13. name: "chrome-tests",
  14. shardTestFiles: true,
  15. maxInstances: 25
  16. }],
  17. // NEIL EDITS (END)
  18.  
  19.  
  20. rootElement: 'div',
  21.  
  22. // Spec patterns are relative to the location of the spec file. They may
  23. // include glob patterns.
  24. suites: {
  25. schedule: './tests/active/schedule/*.js',
  26. paths: './tests/active/paths/*.js'
  27. },
  28.  
  29. // Options to be passed to Jasmine-node.
  30. jasmineNodeOpts: {
  31. showColors: true // Use colors in the command line report.
  32. },
  33.  
  34. params: {
  35. isDev: false,
  36. newUser: false,
  37. email: false,
  38. password: false
  39. },
  40.  
  41. onPrepare: function() {
  42.  
  43. /*
  44. // Add a screenshot reporter and store screenshots to `./reports`:
  45. var HtmlReporter = require('protractor-html-screenshot-reporter');
  46. jasmine.getEnv().addReporter(new HtmlReporter({
  47. baseDirectory: './reports'
  48. }));
  49. */
  50. // Add a xunit xml output file for CI & Jenkins to `./reports`:
  51. require('jasmine-reporters');
  52. jasmine.getEnv().addReporter(
  53. new jasmine.JUnitXmlReporter('./reports', true, true,'junitresults', true));
  54. }
  55.  
  56. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement