1
0
mirror of https://git.cloudron.io/cloudron/minio-app synced 2025-09-02 15:25:07 +00:00

Version 1.138.0

This commit is contained in:
Girish Ramakrishnan
2020-09-22 09:56:30 -07:00
parent 05eaf385d5
commit 440834cf09
4 changed files with 25 additions and 4 deletions

View File

@@ -78,9 +78,17 @@ describe('Application life cycle test', function () {
}).then(function () {
return browser.findElement(by.id('top-right-menu')).click();
}).then(function () {
return visible(by.xpath('//*[text()="Sign Out "]'));
if (app.manifest.version === '1.137.0') {
return visible(by.xpath('//*[text()="Sign Out "]'));
} else {
return visible(by.xpath('//*[contains(text(), "Logout")]'));
}
}).then(function () {
return browser.findElement(by.xpath('//*[text()="Sign Out "]')).click();
if (app.manifest.version === '1.137.0') {
return browser.findElement(by.xpath('//*[text()="Sign Out "]')).click();
} else {
return browser.findElement(by.xpath('//*[contains(text(),"Logout")]')).click();
}
}).then(function () {
return browser.wait(until.elementLocated(by.id('accessKey')), TEST_TIMEOUT);
}).then(function () {
@@ -223,6 +231,8 @@ describe('Application life cycle test', function () {
it('can logout', logout);
it('can update', function () {
execSync('cloudron update --app ' + LOCATION, { cwd: path.resolve(__dirname, '..'), stdio: 'inherit' });
var inspect = JSON.parse(execSync('cloudron inspect'));
app = inspect.apps.filter(function (a) { return a.location === LOCATION; })[0];
});
it('can login', login.bind(null, 'minioadmin', 'minioadmin'));
it('has bucket', checkBucket);