Fixup tests
This commit is contained in:
@@ -166,9 +166,9 @@ describe('Application life cycle test', function () {
|
|||||||
async function logout() {
|
async function logout() {
|
||||||
await browser.get('https://' + app.fqdn + '/#/home');
|
await browser.get('https://' + app.fqdn + '/#/home');
|
||||||
await browser.sleep(5000);
|
await browser.sleep(5000);
|
||||||
await waitForElement(By.xpath('//div[@role="button" and @title="User menu"]'));
|
await waitForElement(By.xpath('//div[@aria-label="User menu"]'));
|
||||||
|
|
||||||
await browser.findElement(By.xpath('//div[@role="button" and @title="User menu"]')).click();
|
await browser.findElement(By.xpath('//div[@aria-label="User menu"]')).click();
|
||||||
await browser.sleep(2000);
|
await browser.sleep(2000);
|
||||||
|
|
||||||
await browser.findElement(By.xpath('//li[@role="menuitem" and @aria-label="Sign out"]')).click();
|
await browser.findElement(By.xpath('//li[@role="menuitem" and @aria-label="Sign out"]')).click();
|
||||||
|
|||||||
Reference in New Issue
Block a user