Skip to content

Commit

Permalink
feat(build): Updated grunt-protractor-runner and protractor configura…
Browse files Browse the repository at this point in the history
…tion to version 0.15.0
  • Loading branch information
tombatossals committed Dec 27, 2013
1 parent 12bd5f6 commit ea836c3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 24 deletions.
24 changes: 1 addition & 23 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,22 +76,14 @@ module.exports = function(grunt) {

protractor: {
options: {
keepAlive: true,
keepAlive: false,
configFile: "test/protractor.conf.js"
},
singlerun: {},
saucelabs: {
options: {
args: saucelabsConfig
}
},
auto: {
keepAlive: true,
options: {
args: {
seleniumPort: 4444
}
}
}
},

Expand Down Expand Up @@ -179,11 +171,6 @@ module.exports = function(grunt) {
autoWatch: false,
singleRun: true
},
unit_auto: {
configFile: 'test/karma-unit.conf.js',
autoWatch: true,
singleRun: false
},
unit_coverage: {
configFile: 'test/karma-unit.conf.js',
autoWatch: false,
Expand Down Expand Up @@ -214,10 +201,6 @@ module.exports = function(grunt) {
'test:unit',
'concat:license'
]
},
protractor: {
files: ['src/**/*.js','test/e2e/**/*.js'],
tasks: ['protractor:auto']
}
},

Expand Down Expand Up @@ -283,11 +266,6 @@ module.exports = function(grunt) {
grunt.registerTask('test:unit', ['karma:unit']);
grunt.registerTask('test:e2e', ['shell:protractor_update', 'connect:testserver', 'protractor:singlerun']);

//autotest and watch tests
grunt.registerTask('autotest', ['karma:unit_auto']);
grunt.registerTask('autotest:unit', ['karma:unit_auto']);
grunt.registerTask('autotest:e2e', ['connect:testserver', 'shell:selenium', 'watch:protractor']);

//coverage testing
grunt.registerTask('test:coverage', ['karma:unit_coverage']);
grunt.registerTask('coverage', ['karma:unit_coverage', 'open:coverage', 'connect:coverage']);
Expand Down
2 changes: 1 addition & 1 deletion test/protractor.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ exports.config = {
// chromeDriver)

// The location of the selenium standalone server .jar file.
seleniumServerJar: '../node_modules/protractor/selenium/selenium-server-standalone-2.37.0.jar',
seleniumServerJar: '../node_modules/protractor/selenium/selenium-server-standalone-2.39.0.jar',
// The port to start the selenium server on, or null if the server should
// find its own unused port.
seleniumPort: null,
Expand Down

0 comments on commit ea836c3

Please sign in to comment.