|
@@ -21,7 +21,7 @@ describe('Application life cycle test', function () {
|
|
|
|
|
|
var chrome = require('selenium-webdriver/chrome');
|
|
var chrome = require('selenium-webdriver/chrome');
|
|
var server, browser = new chrome.Driver(), uploadedImageUrl;
|
|
var server, browser = new chrome.Driver(), uploadedImageUrl;
|
|
- var username = 'admin', password = 'changeme123', oldPassword = 'changeme';
|
|
|
|
|
|
+ var username = 'admin', password = 'changeme123';
|
|
|
|
|
|
before(function (done) {
|
|
before(function (done) {
|
|
var seleniumJar= require('selenium-server-standalone-jar');
|
|
var seleniumJar= require('selenium-server-standalone-jar');
|
|
@@ -248,7 +248,7 @@ describe('Application life cycle test', function () {
|
|
app = inspect.apps.filter(function (a) { return a.location === LOCATION; })[0];
|
|
app = inspect.apps.filter(function (a) { return a.location === LOCATION; })[0];
|
|
expect(app).to.be.an('object');
|
|
expect(app).to.be.an('object');
|
|
});
|
|
});
|
|
- it('can login', login.bind(null, username, oldPassword));
|
|
|
|
|
|
+ it('can login', login.bind(null, username, password));
|
|
it('check mail plugin', checkMailPlugin);
|
|
it('check mail plugin', checkMailPlugin);
|
|
it('can update', function () {
|
|
it('can update', 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' });
|