Skip to content

Instantly share code, notes, and snippets.

@dheerajbhaskar
Created December 11, 2016 19:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dheerajbhaskar/f6c798c74223bcb99bf69a41d1514bf6 to your computer and use it in GitHub Desktop.
Save dheerajbhaskar/f6c798c74223bcb99bf69a41d1514bf6 to your computer and use it in GitHub Desktop.
/**
* Created by Dheeraj on 018 18 10 2016.
*/
// const path = require("path");
// const isCI = require("../lib/ci");
module.exports = {
// - - - - CHIMP - - - -
watch : false,
watchTags : '@watch,@focus',
domainSteps : null,
e2eSteps : null,
fullDomain : false,
domainOnly : false,
e2eTags : '@e2e',
watchWithPolling : false,
server : false,
serverPort : 8060,
serverHost : 'localhost',
sync : true,
offline : false,
showXolvioMessages: false,
// // - - - - CUCUMBER - - - -
// path : './features',
// format : 'pretty',
// tags : '~@ignore',
// singleSnippetPerFile : true,
// recommendedFilenameSeparator: '_',
// chai : false,
// screenshotsOnError : isCI(),
// screenshotsPath : '.screenshots',
// captureAllStepScreenshots : false,
// saveScreenshotsToDisk : true,
// // Note: With a large viewport size and captureAllStepScreenshots enabled,
// // you may run out of memory. Use browser.setViewportSize to make the
// // viewport size smaller.
// saveScreenshotsToReport : false,
// jsonOutput : null,
// compiler : 'js:' + path.resolve(__dirname, '../lib/babel-register.js'),
// conditionOutput : true,
// - - - - SELENIUM - - - -
browser : 'chrome',
platform: 'ANY',
name : '',
user : '',
key : '',
port : null,
host : null,
// deviceName: null,
// - - - - WEBDRIVER-IO - - - -
webdriverio: {
desiredCapabilities : {},
logLevel : 'command',
// logOutput: null,
host : '127.0.0.1',
port : 4444,
path : '/wd/hub',
baseUrl : null,
coloredLogs : true,
screenshotPath : './errorShots/',
waitforTimeout : 30000,
waitforInterval : 250,
connectionRetryCount: 3,
},
// - - - - SELENIUM-STANDALONE
seleniumStandaloneOptions: {
// check for more recent versions of selenium here:
// http://selenium-release.storage.googleapis.com/index.html
version: '2.53.1',
baseURL: 'https://selenium-release.storage.googleapis.com',
drivers: {
chrome: {
// check for more recent versions of chrome driver here:
// http://chromedriver.storage.googleapis.com/index.html
version: '2.24',
arch : process.arch,
baseURL: 'https://chromedriver.storage.googleapis.com'
},
ie : {
// check for more recent versions of internet explorer driver here:
// http://selenium-release.storage.googleapis.com/index.html
version: '2.50.0',
arch : 'ia32',
baseURL: 'https://selenium-release.storage.googleapis.com'
}
}
},
// - - - - SESSION-MANAGER - - - -
noSessionReuse: false,
// - - - - SIMIAN - - - -
simianResultEndPoint: 'api.simian.io/v1.0/result',
simianAccessToken : false,
simianResultBranch : null,
simianRepositoryId : null,
// - - - - MOCHA - - - -
mocha : true,
// mochaTags and mochaGrep only work when watch is false (disabled)
mochaTags : '',
mochaGrep : null,
// 'path: './tests',
mochaTimeout : 120000,
mochaReporter: 'spec',
mochaSlow : 10000,
// // - - - - JASMINE - - - -
// jasmine : false,
// jasmineConfig : {
// specDir : '.',
// specFiles : [
// '**/*@(_spec|-spec|Spec).@(js|jsx)',
// ],
// helpers : [
// 'support/**/*.@(js|jsx)',
// ],
// stopSpecOnExpectationFailure: false,
// random : false,
// },
// jasmineReporterConfig: {
// // This options are passed to jasmine.configureDefaultReporter(...)
// // See: http://jasmine.github.io/2.4/node.html#section-Reporters
// },
// - - - - METEOR - - - -
ddp: false,
// - - - - PHANTOM - - - -
phantom_w: 1280,
phantom_h: 1024,
// - - - - DEBUGGING - - - -
log : 'info',
debug : false,
seleniumDebug : null,
debugCucumber : null,
debugBrkCucumber: null,
debugMocha : null,
debugBrkMocha : null,
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment