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

Version 2.4.11

This commit is contained in:
Girish Ramakrishnan
2022-04-25 22:46:17 -07:00
parent 51bd508a5e
commit 76e75b2421
3 changed files with 9 additions and 4 deletions

View File

@@ -54,12 +54,12 @@ describe('Application life cycle test', function () {
await browser.findElement(By.id('accessKey')).sendKeys(accessKey);
await browser.findElement(By.id('secretKey')).sendKeys(secretKey);
await browser.findElement(By.xpath('//button[contains(text(), "Login")]')).click();
await waitForElement(By.xpath('//h4[contains(text(), "Buckets")]'));
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
}
async function logout() {
await browser.get(`https://${app.fqdn}/`);
await waitForElement(By.xpath('//h4[contains(text(), "Buckets")]'));
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
await browser.findElement(By.xpath('//div/span[contains(text(), "Logout")]')).click();
await waitForElement(By.id('accessKey'));
}