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:
@@ -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'));
|
||||
}
|
||||
|
Reference in New Issue
Block a user