Created
June 22, 2016 22:23
-
-
Save ndmanvar/1b7516b5836fb3c3a621634cd82c15e1 to your computer and use it in GitHub Desktop.
With sauce
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
exports.config = { | |
framework: 'jasmine2', | |
// NEIL EDITS | |
sauceUser: process.env.SAUCE_USERNAME, | |
sauceKey: process.env.SAUCE_ACCESS_KEY, | |
multiCapabilities: [{ | |
browserName: 'chrome', | |
version: '41', | |
platform: 'Windows 7', | |
name: "chrome-tests", | |
shardTestFiles: true, | |
maxInstances: 25 | |
}], | |
// NEIL EDITS (END) | |
rootElement: 'div', | |
// Spec patterns are relative to the location of the spec file. They may | |
// include glob patterns. | |
suites: { | |
schedule: './tests/active/schedule/*.js', | |
paths: './tests/active/paths/*.js' | |
}, | |
// Options to be passed to Jasmine-node. | |
jasmineNodeOpts: { | |
showColors: true // Use colors in the command line report. | |
}, | |
params: { | |
isDev: false, | |
newUser: false, | |
email: false, | |
password: false | |
}, | |
onPrepare: function() { | |
/* | |
// Add a screenshot reporter and store screenshots to `./reports`: | |
var HtmlReporter = require('protractor-html-screenshot-reporter'); | |
jasmine.getEnv().addReporter(new HtmlReporter({ | |
baseDirectory: './reports' | |
})); | |
*/ | |
// Add a xunit xml output file for CI & Jenkins to `./reports`: | |
require('jasmine-reporters'); | |
jasmine.getEnv().addReporter( | |
new jasmine.JUnitXmlReporter('./reports', true, true,'junitresults', true)); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment