Skip to content

Instantly share code, notes, and snippets.

@vilmosioo
Created June 24, 2014 11:21
Show Gist options
  • Save vilmosioo/8dbe5b7d0f363749c51e to your computer and use it in GitHub Desktop.
Save vilmosioo/8dbe5b7d0f363749c51e to your computer and use it in GitHub Desktop.
Protractor
exports.config = {
// ----- What tests to run -----
specs: [
'test/e2e/*.js'
],
// ----- Capabilities to be passed to the webdriver instance ----
capabilities: {}, // not required anymore
// If you would like to run more than one instance of webdriver on the same
// tests, use multiCapabilities, which takes an array of capabilities.
// If this is specified, capabilities will be ignored.
multiCapabilities: [
{
'browserName': 'chrome',
'shardTestFiles': true,
'maxInstances': 10
}
],
// ---- Other settings
};
exports.config = {
// ----- What tests to run -----
specs: [
'test/e2e/*.js'
],
// ----- Capabilities to be passed to the webdriver instance ----
capabilities: {}, // not required anymore
// If you would like to run more than one instance of webdriver on the same
// tests, use multiCapabilities, which takes an array of capabilities.
// If this is specified, capabilities will be ignored.
multiCapabilities: [
{
'browserName': 'chrome',
'shardTestFiles': true,
'maxInstances': 10
},
{
'browserName': 'firefox',
'shardTestFiles': true,
'maxInstances': 10
}
],
// ---- Other settings
};
exports.config = {
// ----- What tests to run -----
specs: [
'test/e2e/*.js'
],
// ----- Capabilities to be passed to the webdriver instance ----
capabilities: {
'browserName': 'chrome'
},
// ---- Other settings
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment