From 20eefea761b4e79fc68904333ad88da9bafb04de Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Wed, 15 Nov 2023 14:34:12 +0100 Subject: [PATCH] Fixup tests --- test/test.js | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/test/test.js b/test/test.js index bd960b9..f3632e2 100644 --- a/test/test.js +++ b/test/test.js @@ -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 () {