diff options
Diffstat (limited to 'lib/grunt')
| -rw-r--r-- | lib/grunt/utils.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/grunt/utils.js b/lib/grunt/utils.js index 1c356c18..b9affd82 100644 --- a/lib/grunt/utils.js +++ b/lib/grunt/utils.js @@ -247,14 +247,15 @@ module.exports = { var tunnelIdentifier = grunt.option('capabilities.tunnel-identifier'); var sauceBuild = grunt.option('capabilities.build'); var browser = grunt.option('browser'); + var specs = grunt.option('specs'); var args = ['node_modules/protractor/bin/protractor', config]; if (sauceUser) args.push('--sauceUser=' + sauceUser); if (sauceKey) args.push('--sauceKey=' + sauceKey); if (tunnelIdentifier) args.push('--capabilities.tunnel-identifier=' + tunnelIdentifier); if (sauceBuild) args.push('--capabilities.build=' + sauceBuild); + if (specs) args.push('--specs=' + specs); if (browser) { args.push('--browser=' + browser); - args.push('--params.browser=' + browser); } |
