diff --git a/packages/zowe-explorer/__tests__/__theia__/theia/extension.theiaChrome.ts b/packages/zowe-explorer/__tests__/__theia__/theia/extension.theiaChrome.ts index 239aadb46a..287c1fc772 100644 --- a/packages/zowe-explorer/__tests__/__theia__/theia/extension.theiaChrome.ts +++ b/packages/zowe-explorer/__tests__/__theia__/theia/extension.theiaChrome.ts @@ -143,6 +143,8 @@ export async function hideProfileInUss() { const manageProfile = driverChrome.wait(until.elementLocated(By.xpath(UssLocators.emptyInputBoxXpath)), WAITTIME); manageProfile.sendKeys("Hide Profile"); manageProfile.sendKeys(Key.ENTER); + manageProfile.sendKeys("No"); + manageProfile.sendKeys(Key.ENTER); } export async function hideProfileInJobs() { @@ -153,6 +155,8 @@ export async function hideProfileInJobs() { const manageProfile = driverChrome.wait(until.elementLocated(By.xpath(JobsLocators.emptyInputBoxXpath)), WAITTIME); manageProfile.sendKeys("Hide Profile"); manageProfile.sendKeys(Key.ENTER); + manageProfile.sendKeys("No"); + manageProfile.sendKeys(Key.ENTER); } export async function verifyProfileIsHideInUss() {