Commit e9e43b2c authored by Johannes Zellner's avatar Johannes Zellner

Update tests

parent 1c45efca
......@@ -204,7 +204,7 @@ describe('Application life cycle test', function () {
});
it('install app', function () {
execSync(`cloudron install --new --wait --location ${LOCATION}`, EXEC_ARGS);
execSync(`cloudron install --location ${LOCATION}`, EXEC_ARGS);
});
it('can get app information', getAppInfo);
......@@ -228,7 +228,7 @@ describe('Application life cycle test', function () {
it('can logout', logout);
it('can restart app', function () {
execSync(`cloudron restart --wait --app ${app.id}`);
execSync(`cloudron restart --app ${app.id}`);
});
it('can login', login.bind(null, username, password));
......@@ -260,7 +260,7 @@ describe('Application life cycle test', function () {
// ensure we don't hit NXDOMAIN in the mean time
browser.get('about:blank').then(function () {
execSync(`cloudron configure --wait --app ${app.id} --location ${LOCATION}2`, EXEC_ARGS);
execSync(`cloudron configure --app ${app.id} --location ${LOCATION}2`, EXEC_ARGS);
var inspect = JSON.parse(execSync('cloudron inspect'));
app = inspect.apps.filter(function (a) { return a.location === LOCATION + '2'; })[0];
......@@ -287,7 +287,7 @@ describe('Application life cycle test', function () {
// test update
it('can install app', function () {
execSync(`cloudron install --new --wait --appstore-id com.nextcloud.cloudronapp --location ${LOCATION}`, EXEC_ARGS);
execSync(`cloudron install --appstore-id com.nextcloud.cloudronapp --location ${LOCATION}`, EXEC_ARGS);
});
it('can get app information', getAppInfo);
......@@ -301,7 +301,7 @@ describe('Application life cycle test', function () {
it('can logout', logout);
it('can update', function () {
execSync(`cloudron install --wait --app ${LOCATION}`, EXEC_ARGS);
execSync(`cloudron update --app ${LOCATION}`, EXEC_ARGS);
});
it('can admin login', login.bind(null, adminUser, adminPassword));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment