Created
February 15, 2015 12:26
-
-
Save willmendesneto/d6d1163b39356e5e103a to your computer and use it in GitHub Desktop.
An example of protractor configuration
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
// An example configuration file. | |
exports.config = { | |
// Do not start a Selenium Standalone sever - only run this using chrome. | |
chromeOnly: true, | |
chromeDriver: './node_modules/protractor/selenium/chromedriver', | |
seleniumAddress: 'http://0.0.0.0:4444/wd/hub', | |
baseUrl: 'http://0.0.0.0:9000', | |
// Capabilities to be passed to the webdriver instance. | |
capabilities: { | |
'browserName': 'chrome' | |
}, | |
// Spec patterns are relative to the current working directly when | |
// protractor is called. | |
specs: ['test/e2e/**/*_spec.js'], | |
// Options to be passed to Jasmine-node. | |
jasmineNodeOpts: { | |
showColors: true, | |
defaultTimeoutInterval: 30000 | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment