How do I run suites in protractor. Here is my config file:
exports.config = {
seleniumAddress: 'http://localhost:4444/wd/hub',
suites:
{
one: ['test.js'],
two: ['homePageSpec.js']
},
onPrepare: function () {
browser.driver.manage().window().setSize(1180, 900);
},
}
I tried protractor ProtractorConf.js --suite one
I removed the square brackets and it worked. like:
suites:
{
one: 'test.js',
two: 'homePageSpec.js'
},