From 2ed4ad55022f6e5519617a3797649fe1e68f3734 Mon Sep 17 00:00:00 2001 From: Julie Date: Tue, 7 Jan 2014 11:51:32 -0800 Subject: feat(build): add a grunt test for running protractor tests extracted from the docs --- lib/grunt/plugins.js | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'lib/grunt/plugins.js') diff --git a/lib/grunt/plugins.js b/lib/grunt/plugins.js index 363b8698..a269cf82 100644 --- a/lib/grunt/plugins.js +++ b/lib/grunt/plugins.js @@ -61,6 +61,14 @@ module.exports = function(grunt) { util.startKarma.call(util, this.data, false, this.async()); }); + grunt.registerTask('webdriver', 'Update webdriver', function() { + util.updateWebdriver.call(util, this.async()); + }); + + grunt.registerMultiTask('runprotractor', 'Run Protractor integration tests', function() { + util.startProtractor.call(util, this.data, this.async()); + }); + grunt.registerTask('collect-errors', 'Combine stripped error files', function () { util.collectErrors(); }); -- cgit v1.2.3