mirror of
				https://git.cloudron.io/cloudron/gitea-app
				synced 2025-11-04 00:52:35 +00:00 
			
		
		
		
	uninstall only after test is done
This commit is contained in:
		@@ -242,8 +242,9 @@ describe('Application life cycle test', function () {
 | 
			
		||||
        browser.findElement(by.id('user_name')).sendKeys(email);
 | 
			
		||||
        browser.findElement(by.id('password')).sendKeys(password);
 | 
			
		||||
        browser.findElement(by.tagName('form')).submit();
 | 
			
		||||
        browser.wait(until.elementLocated(by.linkText('Dashboard')), 4000).then(function () { done(); });
 | 
			
		||||
 | 
			
		||||
        execSync('cloudron uninstall --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
 | 
			
		||||
        browser.wait(until.elementLocated(by.linkText('Dashboard')), 4000).then(function () {
 | 
			
		||||
            execSync('cloudron uninstall --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
 | 
			
		||||
            done();
 | 
			
		||||
        });
 | 
			
		||||
    });
 | 
			
		||||
});
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user