|
@@ -161,7 +161,7 @@ describe('Application life cycle test', function () {
|
|
|
var img = browser.findElement(by.xpath('//img[@src="/assets/uploads/profile/1-profileavatar.png"]'));
|
|
|
return browser.executeScript('return arguments[0].complete && arguments[0].naturalWidth', img);
|
|
|
}).then(function (imageWidth) {
|
|
|
- done(imageWidth === 128 ? null : new Error('failed to load image'));
|
|
|
+ done(imageWidth === 200 ? null : new Error('failed to load image'));
|
|
|
});
|
|
|
}
|
|
|
|
|
@@ -203,7 +203,7 @@ describe('Application life cycle test', function () {
|
|
|
it('can check image', checkImage);
|
|
|
|
|
|
it('can restart app', function (done) {
|
|
|
- execSync('cloudron restart --app ' + app.id);
|
|
|
+ execSync('cloudron restart --wait --app ' + app.id);
|
|
|
done();
|
|
|
});
|
|
|
|