snapshot updates

This commit is contained in:
Adam Bradley
2015-03-30 14:18:15 -05:00
parent d1be210f9f
commit 8adcd53295
4 changed files with 6 additions and 6 deletions

View File

@@ -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, '');
};

View File

@@ -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 %>

View File

@@ -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
};

View File

@@ -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']