From 2bbf11f7956ed2965cc2105f94d1e48bb7f72f48 Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Fri, 16 Jun 2023 17:25:23 +0530 Subject: [PATCH] Fix test --- test/test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/test.js b/test/test.js index 25f887d..7bb871c 100644 --- a/test/test.js +++ b/test/test.js @@ -62,7 +62,7 @@ describe('Application life cycle test', function () { async function logout() { await browser.get(`https://${app.fqdn}/`); await waitForElement(By.xpath('//span[contains(text(), "Buckets")]')); - const button = await browser.findElement(By.xpath('//div/span[contains(text(), "Sign Out")]')); + const button = await browser.findElement(By.xpath('//button[@id="sign-out"]')); await browser.executeScript('arguments[0].scrollIntoView(false)', button); await button.click(); await waitForElement(By.id('accessKey'));