diff --git a/test/new-user-test.js b/test/new-user-test.js index b215849..5ef4bc3 100644 --- a/test/new-user-test.js +++ b/test/new-user-test.js @@ -61,15 +61,6 @@ describe('Appstore new user flow', function () { cloudron = new Cloudron(box); }); - it('has setup DNS records correctly', function (done) { - async.series([ - cloudron.checkA.bind(cloudron), - cloudron.checkSPF.bind(cloudron), - cloudron.checkDKIM.bind(cloudron), - cloudron.checkDMARC.bind(cloudron) - ], done); - }); - it('can activate the box', function () { cloudron.activate(owner); }); @@ -94,6 +85,16 @@ describe('Appstore new user flow', function () { cloudron.uninstallApp(appId); }); + // check this after activation + it('has setup DNS records correctly', function (done) { + async.series([ + cloudron.checkA.bind(cloudron), + cloudron.checkSPF.bind(cloudron), + cloudron.checkDKIM.bind(cloudron), + cloudron.checkDMARC.bind(cloudron) + ], done); + }); + it('can delete the cloudron', function () { appStore.deleteCloudron(box); }); @@ -120,4 +121,3 @@ describe('Appstore new user flow', function () { }); }); -