mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
snapshot updates
This commit is contained in:
@@ -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, '');
|
||||
};
|
||||
|
||||
|
||||
@@ -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 %>
|
||||
|
||||
@@ -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
|
||||
|
||||
};
|
||||
|
||||
@@ -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']
|
||||
|
||||
Reference in New Issue
Block a user