Skip to content
Snippets Groups Projects
chimp-config.js 4.06 KiB
Newer Older
// import path from 'path';
// import {isCI} from '../lib/ci';

Rodrigo Nascimento's avatar
Rodrigo Nascimento committed
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: true,
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed

// 	// - - - - CUCUMBER - - - -
Martin Schoeler's avatar
Martin Schoeler committed
	path: 'tests/end-to-end',
// 	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,
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed

// 	// - - - - SELENIUM  - - - -
// 	browser: null,
// 	platform: 'ANY',
// 	name: '',
// 	user: '',
// 	key: '',
// 	port: null,
// 	host: null,
// 	// deviceName: null,
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed

// 	// - - - - WEBDRIVER-IO  - - - -
// 	webdriverio: {
// 		desiredCapabilities: {},
// 		logLevel: 'silent',
// 		// logOutput: null,
// 		host: '127.0.0.1',
// 		port: 4444,
// 		path: '/wd/hub',
// 		baseUrl: null,
// 		coloredLogs: true,
// 		screenshotPath: null,
// 		waitforTimeout: 500,
// 		waitforInterval: 250,
// 	},
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed

// 	// - - - - 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.25',
// 				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'
// 			},
// 			firefox: {
// 				// check for more recent versions of gecko  driver here:
// 				// https://github.com/mozilla/geckodriver/releases
// 				version: '0.11.1',
// 				arch: process.arch,
// 				baseURL: 'https://github.com/mozilla/geckodriver/releases/download'
// 			}
// 		}
// 	},
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed

// 	// - - - - SESSION-MANAGER  - - - -
// 	noSessionReuse: false,
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed

// 	// - - - - SIMIAN  - - - -
// 	simianResultEndPoint: 'api.simian.io/v1.0/result',
// 	simianAccessToken: false,
// 	simianResultBranch: null,
// 	simianRepositoryId: null,
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed

// 	// - - - - MOCHA  - - - -
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed
	mocha: true,
	mochaCommandLineOptions: ['--color'],
	mochaConfig: {
		// tags and grep only work when watch mode is false
		tags: '',
		grep: null,
Martin Schoeler's avatar
Martin Schoeler committed
		timeout: 40000,
		//retries: 3,
		bail: false // bail after first test failure
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed
	},

// 	// - - - - 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: 'http://localhost:3000'
// 	serverExecuteTimeout: 10000,
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed

// 	// - - - - PHANTOM  - - - -
// 	phantom_w: 1280,
// 	phantom_h: 1024,
// 	phantom_ignoreSSLErrors: false,
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed

// 	// - - - - DEBUGGING  - - - -
// 	log: 'info',
// 	debug: false,
// 	seleniumDebug: null,
// 	debugCucumber: null,
// 	debugBrkCucumber: null,
// 	debugMocha: null,
// 	debugBrkMocha: null,
Rodrigo Nascimento's avatar
Rodrigo Nascimento committed
};