uninstall only after test is done
This commit is contained in:
parent
85e38c63d3
commit
0c58c963e9
|
@ -242,8 +242,9 @@ describe('Application life cycle test', function () {
|
||||||
browser.findElement(by.id('user_name')).sendKeys(email);
|
browser.findElement(by.id('user_name')).sendKeys(email);
|
||||||
browser.findElement(by.id('password')).sendKeys(password);
|
browser.findElement(by.id('password')).sendKeys(password);
|
||||||
browser.findElement(by.tagName('form')).submit();
|
browser.findElement(by.tagName('form')).submit();
|
||||||
browser.wait(until.elementLocated(by.linkText('Dashboard')), 4000).then(function () { done(); });
|
browser.wait(until.elementLocated(by.linkText('Dashboard')), 4000).then(function () {
|
||||||
|
execSync('cloudron uninstall --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
||||||
execSync('cloudron uninstall --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
done();
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue