mirror of
https://git.cloudron.io/cloudron/minio-app
synced 2025-09-01 06:45:06 +00:00
fix test
This commit is contained in:
@@ -133,11 +133,11 @@ describe('Application life cycle test', function () {
|
|||||||
}).then(function () {
|
}).then(function () {
|
||||||
return browser.findElement(by.id('top-right-menu')).click();
|
return browser.findElement(by.id('top-right-menu')).click();
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
return visible(by.xpath('//*[text()="Settings "]'));
|
return visible(by.xpath('//*[contains(text(), "Change Password")]'));
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
return browser.findElement(by.xpath('//*[text()="Settings "]')).click();
|
return browser.findElement(by.xpath('//*[contains(text(),"Change Password")]')).click();
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
return browser.wait(until.elementLocated(by.xpath('//*[text()="Generate"]')), TEST_TIMEOUT);
|
return browser.wait(until.elementLocated(by.xpath('//*[contains(text(), "Change Password")]')), TEST_TIMEOUT);
|
||||||
}).then(function () {
|
}).then(function () {
|
||||||
callback();
|
callback();
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user