Created
May 11, 2016 07:16
-
-
Save nicolanrizzo/91ca92461bdfdd7f0740925fb157bf82 to your computer and use it in GitHub Desktop.
This file contains 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
// protractor.conf.js | |
exports.config = { | |
allScriptsTimeout: 99999, | |
// The address of a running selenium server. | |
// seleniumAddress: 'http://127.0.0.1:4444/wd/hub', | |
// The location of the selenium standalone server .jar file, relative | |
// to the location of this config. If no other method of starting selenium | |
// is found, this will default to | |
// node_modules/protractor/selenium/selenium-server... | |
seleniumServerJar: './node_modules/protractor/selenium/selenium-server-standalone-2.47.1.jar', | |
// The port to start the selenium server on, or null if the server should | |
// find its own unused port. | |
seleniumPort: 4444, | |
// Capabilities to be passed to the webdriver instance. | |
capabilities: { | |
'browserName': 'chrome' | |
}, | |
baseUrl: 'http://localhost:9876/', | |
framework: 'cucumber', | |
// Spec patterns are relative to the current working directly when protractor is called. | |
specs: [ | |
'test/e2e/**/*.feature' | |
], | |
// Options to be passed to Cucumber. | |
cucumberOpts: { | |
// Require files before executing the features. | |
require: [ | |
'node_modules/angular-protractor-cucumber/src/step-definitions/**/*.js', | |
'node_modules/angular-protractor-cucumber/src/support/**/*.js', | |
'test/e2e/step-definitions/**/*.js', | |
'test/e2e/support/**/*.js' | |
], | |
// Only execute the features or scenarios with tags matching @dev. | |
// This may be an array of strings to specify multiple tags to include. | |
// tags: '@dev', | |
// How to format features (progress, summary, pretty, json) | |
format: 'pretty', | |
}, | |
resultJsonOutputFile: './test/e2e/results.json' | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment