|
@@ -215,6 +215,7 @@ describe('Application life cycle test', function () {
|
|
|
done();
|
|
|
});
|
|
|
|
|
|
+ it('can login', login.bind(null, username, password));
|
|
|
it('can see updated post', checkPost);
|
|
|
it('can see media', checkMedia);
|
|
|
it('has correct htaccess', checkHtaccess);
|
|
@@ -228,6 +229,7 @@ describe('Application life cycle test', function () {
|
|
|
execSync('cloudron restore --app ' + app.id, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
|
|
|
});
|
|
|
|
|
|
+ it('can login', login.bind(null, username, password));
|
|
|
it('can see updated post', checkPost);
|
|
|
it('can see media', checkMedia);
|
|
|
it('has correct htaccess', checkHtaccess);
|
|
@@ -243,6 +245,7 @@ describe('Application life cycle test', function () {
|
|
|
mediaLink = mediaLink.replace(LOCATION, LOCATION + '2');
|
|
|
});
|
|
|
|
|
|
+ it('can login', login.bind(null, username, password));
|
|
|
it('can see updated post', checkPost);
|
|
|
it('can see media', checkMedia);
|
|
|
it('has correct htaccess', checkHtaccess);
|
|
@@ -304,6 +307,8 @@ describe('Application life cycle test', function () {
|
|
|
it('can update', function () {
|
|
|
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 media', checkMedia);
|
|
|
it('can access permalink', checkPermalink);
|