Skip to content

Instantly share code, notes, and snippets.

@misaxi
Last active August 29, 2015 13:55
Show Gist options
  • Save misaxi/8703209 to your computer and use it in GitHub Desktop.
Save misaxi/8703209 to your computer and use it in GitHub Desktop.
// export to GLOBAL.config so the test code
// can access your settings. i.e. login detail
GLOBAL.config = module.exports.config = {
login: {
username: 'admin',
password: 'adminpwd'
},
chromeDriver: 'protractor/selenium/chromedriver',
seleniumAddress: 'http://localhost:4444/wd/hub',
specs: [
'tests/**/*_spec.js',
],
capabilities: {
'browserName': 'chrome'
},
baseUrl: 'https://localhost',
rootElement: 'body',
jasmineNodeOpts: {
showColors: true,
includeStackTrace: true,
defaultTimeoutInterval: 30000
}
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment