From 8adcd5329527fd9f8ff9eeaef757fcbd4a4cc7aa Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Mon, 30 Mar 2015 14:18:15 -0500 Subject: [PATCH] snapshot updates --- scripts/e2e/e2e-publish.js | 4 ++-- scripts/e2e/e2e.template.js | 2 +- scripts/snapshot/snapshot.config.js | 4 ++-- scripts/snapshot/snapshot.task.js | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/scripts/e2e/e2e-publish.js b/scripts/e2e/e2e-publish.js index d71b6a94b6..7514c18213 100644 --- a/scripts/e2e/e2e-publish.js +++ b/scripts/e2e/e2e-publish.js @@ -38,7 +38,7 @@ module.exports = function(options) { }; request.post({ - url: options.domain + '/e2e/upload-url', + url: 'http://' + options.domain + '/e2e/upload-url', formData: formData }, function(err, httpResponse, body) { @@ -76,7 +76,7 @@ module.exports = function(options) { ); } - console.log('Upload e2e tests'); + console.log('Uploading e2e tests:', options.testId); uploadFiles(inputDir, ''); }; diff --git a/scripts/e2e/e2e.template.js b/scripts/e2e/e2e.template.js index c6b9b038ba..9e00cda641 100644 --- a/scripts/e2e/e2e.template.js +++ b/scripts/e2e/e2e.template.js @@ -1,7 +1,7 @@ describe('<%= relativePath %>: <%= platform %>', function() { it('should init', function() { - browser.get('http://localhost:<%= buildConfig.protractorPort %>/e2e/<%= relativePath %>?ionicplatform=<%= platform %>'); + browser.get('http://localhost:<%= buildConfig.protractorPort %>/e2e/<%= relativePath %>/index.html?ionicplatform=<%= platform %>'); }); <%= contents %> diff --git a/scripts/snapshot/snapshot.config.js b/scripts/snapshot/snapshot.config.js index f7c244d8b7..430b249918 100644 --- a/scripts/snapshot/snapshot.config.js +++ b/scripts/snapshot/snapshot.config.js @@ -3,8 +3,8 @@ exports.config = { groupId: 'ionic2', appId: 'snapshots', - //domain: 'http://localhost:8080', - domain: 'http://ionic-snapshot-go.appspot.com', + //domain: 'localhost:8080', + domain: 'ionic-snapshot-go.appspot.com', accessKey: process.env.IONIC_SNAPSHOT_KEY }; diff --git a/scripts/snapshot/snapshot.task.js b/scripts/snapshot/snapshot.task.js index c3ab889751..f8ae0697a9 100644 --- a/scripts/snapshot/snapshot.task.js +++ b/scripts/snapshot/snapshot.task.js @@ -56,7 +56,7 @@ module.exports = function(gulp, argv, buildConfig) { } function protractor(done, args) { - console.log('Start protractor'); + console.log('Start protractor:', snapshotValues.params.test_id); var child = cp.spawn('protractor', args, { stdio: [process.stdin, process.stdout, 'pipe']