- execSync('cloudron install --location ' + LOCATION + '2', { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
- var inspect = JSON.parse(execSync('cloudron inspect'));
- app = inspect.apps.filter(function (a) { return a.location === LOCATION + '2'; })[0];
- expect(app).to.be.an('object');
+
+ // ensure we don't hit NXDOMAIN in the mean time
+ browser.get('about:blank').then(function () {
+ execSync('cloudron configure --location ' + LOCATION + '2 --app ' + app.id, EXEC_OPTIONS);
+ var inspect = JSON.parse(execSync('cloudron inspect'));
+ app = inspect.apps.filter(function (a) { return a.location === LOCATION + '2'; })[0];
+ expect(app).to.be.an('object');
+ done();
+ });