Skip to content
This repository has been archived by the owner on Aug 7, 2019. It is now read-only.

Commit

Permalink
Change Gruntfile to use grunt-protractor-runner option to call webdri…
Browse files Browse the repository at this point in the history
…verManager update
  • Loading branch information
Nathan Thompson committed Dec 1, 2015
1 parent 983d55b commit 7705297
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Gruntfile.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ module.exports = (grunt) ->

protractor:
options:
webdriverManagerUpdate: true
configFile: "./spec/conf/protractor.spec.conf.coffee"

chrome:
Expand All @@ -46,8 +47,6 @@ module.exports = (grunt) ->
browser: 'firefox'

shell:
webdriverManagerUpdate:
command: "node_modules/grunt-protractor-runner/node_modules/.bin/webdriver-manager update"
generateApiDocs:
command: [
"docha -p '.tmp/elementHelper.spec.js' -o 'docs/elementHelper.md' -e _"
Expand All @@ -72,7 +71,6 @@ module.exports = (grunt) ->
grunt.registerTask 'test', (target = 'firefox') ->
return grunt.task.run [
'coffee:compile'
'shell:webdriverManagerUpdate'
'express:server'
"protractor:#{target}"
]
Expand Down

0 comments on commit 7705297

Please sign in to comment.