mirror of
https://git.cloudron.io/cloudron/minio-app
synced 2025-04-21 20:01:49 +00:00
Fix test
This commit is contained in:
parent
4800f84077
commit
00b781abe3
@ -62,7 +62,9 @@ describe('Application life cycle test', function () {
|
||||
async function logout() {
|
||||
await browser.get(`https://${app.fqdn}/`);
|
||||
await waitForElement(By.xpath('//span[contains(text(), "Buckets")]'));
|
||||
await browser.findElement(By.xpath('//div/span[contains(text(), "Logout")]')).click();
|
||||
const button = await browser.findElement(By.xpath('//div/span[contains(text(), "Sign Out")]'));
|
||||
await browser.executeScript('arguments[0].scrollIntoView(false)', button);
|
||||
await button.click();
|
||||
await waitForElement(By.id('accessKey'));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user