Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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));
- }
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement