Fixup tests

This commit is contained in:
Johannes Zellner 2023-11-15 14:34:12 +01:00
parent 0a81bc61d4
commit 20eefea761
1 changed files with 2 additions and 5 deletions

View File

@ -87,17 +87,13 @@ describe('Application life cycle test', function () {
xit('build app', function () { execSync('cloudron build', EXEC_ARGS); });
it('install app', function () { execSync('cloudron install --port-bindings SYNC_PORT=' + SYNC_PORT + ' --location ' + LOCATION, EXEC_ARGS); });
// await timers.setTimeout(30000);
it('can get app information', getAppInfo);
it('can login', login);
it('can load page', loadPage);
it('can add folder', addFolder);
it('backup app', async function () {
execSync('cloudron backup create --app ' + app.id, EXEC_ARGS);
// await timers.setTimeout(30000);
});
it('backup app', async function () { execSync('cloudron backup create --app ' + app.id, EXEC_ARGS); });
it('restore app', async function () {
await browser.get('about:blank');
execSync('cloudron restore --app ' + app.id, EXEC_ARGS);
@ -138,6 +134,7 @@ describe('Application life cycle test', function () {
execSync('cloudron update --app ' + LOCATION, EXEC_ARGS);
await timers.setTimeout(30000);
});
it('can login', login);
it('can check folder', checkFolder);
it('uninstall app', async function () {