enable email
This commit is contained in:
parent
d3d67df25f
commit
ceca32c217
@ -75,6 +75,10 @@ describe('Cloudron update testing', function () {
|
||||
cloudron.setCredentials(owner.password, token);
|
||||
});
|
||||
|
||||
it('can enable email', function () {
|
||||
cloudron.setEmailEnabled(true);
|
||||
});
|
||||
|
||||
var location = 'test' + (Math.random() * 10000).toFixed();
|
||||
it('can install app', function () {
|
||||
var manifest = appStore.getManifest(common.TESTAPP_ID, common.PREV_TESTAPP_VERSION);
|
||||
|
@ -66,6 +66,11 @@ describe('Cloudron backup testing', function () {
|
||||
cloudron.setCredentials(owner.password, token);
|
||||
});
|
||||
|
||||
it('can enable email', function () {
|
||||
cloudron.setEmailEnabled(true);
|
||||
sleep(20); // sometime for the mail container to come up
|
||||
});
|
||||
|
||||
// mail alias tests (do this here because alias takes sometime to propagate)
|
||||
it('can set aliases', function () {
|
||||
cloudron.setAliases(owner, ['admin', 'mail']);
|
||||
|
@ -69,6 +69,11 @@ describe('Custom domain test', function () {
|
||||
cloudron.setCredentials(owner.password, token);
|
||||
});
|
||||
|
||||
it('can enable email', function () {
|
||||
cloudron.setEmailEnabled(true);
|
||||
sleep(20); // sometime for the mail container to come up
|
||||
});
|
||||
|
||||
it('can migrate cloudron to custom domain', function () {
|
||||
cloudron.migrate({
|
||||
domain: CUSTOM_DOMAIN,
|
||||
|
@ -62,6 +62,10 @@ describe('Cloudron user creation testing', function () {
|
||||
cloudron.setCredentials(owner.password, token);
|
||||
});
|
||||
|
||||
it('can enable email', function () {
|
||||
cloudron.setEmailEnabled(true);
|
||||
});
|
||||
|
||||
it('can create user', function () {
|
||||
newUser = cloudron.addUser('newuser', 'test+foo@cloudron.io');
|
||||
});
|
||||
|
@ -124,6 +124,11 @@ describe('Selfhost EC2 Cloudron creation', function () {
|
||||
sleep(120);
|
||||
});
|
||||
|
||||
it('can enable email', function () {
|
||||
cloudron.setEmailEnabled(true);
|
||||
sleep(20); // sometime for the mail container to come up
|
||||
});
|
||||
|
||||
it('send mail to cloudron user', function (done) {
|
||||
mailer.sendMailToCloudronUser(owner.username + '@' + SELFHOST_DOMAIN, done);
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user