mirror of
				https://git.cloudron.io/cloudron/syncthing-app
				synced 2025-11-04 08:42:33 +00:00 
			
		
		
		
	Fixup tests
This commit is contained in:
		@@ -87,17 +87,13 @@ describe('Application life cycle test', function () {
 | 
				
			|||||||
    xit('build app', function () { execSync('cloudron build', EXEC_ARGS); });
 | 
					    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); });
 | 
					    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 get app information', getAppInfo);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    it('can login', login);
 | 
					    it('can login', login);
 | 
				
			||||||
    it('can load page', loadPage);
 | 
					    it('can load page', loadPage);
 | 
				
			||||||
    it('can add folder', addFolder);
 | 
					    it('can add folder', addFolder);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    it('backup app', async function () {
 | 
					    it('backup app', async function () { execSync('cloudron backup create --app ' + app.id, EXEC_ARGS); });
 | 
				
			||||||
        execSync('cloudron backup create --app ' + app.id, EXEC_ARGS);
 | 
					 | 
				
			||||||
        // await timers.setTimeout(30000);
 | 
					 | 
				
			||||||
    });
 | 
					 | 
				
			||||||
    it('restore app', async function () {
 | 
					    it('restore app', async function () {
 | 
				
			||||||
        await browser.get('about:blank');
 | 
					        await browser.get('about:blank');
 | 
				
			||||||
        execSync('cloudron restore --app ' + app.id, EXEC_ARGS);
 | 
					        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);
 | 
					        execSync('cloudron update --app ' + LOCATION, EXEC_ARGS);
 | 
				
			||||||
        await timers.setTimeout(30000);
 | 
					        await timers.setTimeout(30000);
 | 
				
			||||||
    });
 | 
					    });
 | 
				
			||||||
 | 
					    it('can login', login);
 | 
				
			||||||
    it('can check folder', checkFolder);
 | 
					    it('can check folder', checkFolder);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    it('uninstall app', async function () {
 | 
					    it('uninstall app', async function () {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user