wait a bit for timezone value
This commit is contained in:
parent
48384f3e67
commit
c3c5eafefd
|
@ -63,11 +63,7 @@ describe('Appstore new user flow', function () {
|
||||||
cloudron.setCredentials(owner.password, token);
|
cloudron.setCredentials(owner.password, token);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('can get the timezone', function () {
|
var location = 'haste' + (Math.random() * 10000).toFixed();
|
||||||
cloudron.checkTimeZone('America/New_York'); // this is the timezone of the ec2 ci machine
|
|
||||||
});
|
|
||||||
|
|
||||||
var location = 'haste' + (Math.random() * 10000).toFixed();
|
|
||||||
it('can install app', function () {
|
it('can install app', function () {
|
||||||
appId = cloudron.installApp(location, 'com.hastebin.cloudronapp@0.3.0');
|
appId = cloudron.installApp(location, 'com.hastebin.cloudronapp@0.3.0');
|
||||||
});
|
});
|
||||||
|
@ -81,6 +77,11 @@ describe('Appstore new user flow', function () {
|
||||||
cloudron.uninstallApp(appId);
|
cloudron.uninstallApp(appId);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
it('can get the timezone', function () {
|
||||||
|
// cloudron timezone is set async and this check is here to give Cloudron some time
|
||||||
|
cloudron.checkTimeZone('America/New_York'); // this is the timezone of the ec2 ci machine
|
||||||
|
});
|
||||||
|
|
||||||
// check this after activation
|
// check this after activation
|
||||||
it('has setup DNS records correctly', function (done) {
|
it('has setup DNS records correctly', function (done) {
|
||||||
async.series([
|
async.series([
|
||||||
|
|
Loading…
Reference in New Issue