|
@@ -38,7 +38,7 @@ describe('Application life cycle test', function () {
|
|
var password = process.env.PASSWORD;
|
|
var password = process.env.PASSWORD;
|
|
var adminUsername = 'admin';
|
|
var adminUsername = 'admin';
|
|
var adminPassword = 'changeme';
|
|
var adminPassword = 'changeme';
|
|
- var TIMEOUT = parseInt(process.env.TIMEOUT, 10) || 5000;
|
|
|
|
|
|
+ var TIMEOUT = parseInt(process.env.TIMEOUT, 10) || 20000;
|
|
var email, token;
|
|
var email, token;
|
|
|
|
|
|
before(function (done) {
|
|
before(function (done) {
|
|
@@ -363,8 +363,8 @@ describe('Application life cycle test', function () {
|
|
execSync('cloudron install --wait --app ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
|
execSync('cloudron install --wait --app ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
|
});
|
|
});
|
|
|
|
|
|
- it('can login', login.bind(null, username, password));
|
|
|
|
it('can see updated post', checkPost);
|
|
it('can see updated post', checkPost);
|
|
|
|
+ it('can login', login.bind(null, username, password));
|
|
it('is an admin dashboard', function (done) {
|
|
it('is an admin dashboard', function (done) {
|
|
browser.wait(until.elementLocated(by.xpath('//div[@class="wp-menu-name" and contains(text(), "Plugins")]')), TIMEOUT).then(function () { done(); });
|
|
browser.wait(until.elementLocated(by.xpath('//div[@class="wp-menu-name" and contains(text(), "Plugins")]')), TIMEOUT).then(function () { done(); });
|
|
});
|
|
});
|