Skip to content

Commit

Permalink
Fix adding profile via quick pick
Browse files Browse the repository at this point in the history
Signed-off-by: Timothy Johnson <[email protected]>
  • Loading branch information
t1m0thyj committed Nov 18, 2024
1 parent f5113e5 commit f77e0e8
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,9 @@ When("the user has a profile in their Data Sets tree", async function () {
await expect(plusIcon).toBeDefined();
await plusIcon.elem.click();
await browser.waitUntil((): Promise<boolean> => quickPick.isClickable());
const firstProfileEntry = await quickPick.findItemByIndex(2);
await expect(firstProfileEntry).toBeClickable();
await firstProfileEntry.click();
const testProfileEntry = await quickPick.findItem(`zosmf_${this.authType as string}`);
await expect(testProfileEntry).toBeClickable();
await testProfileEntry.click();
this.yesOpt = await quickPick.findItem("Yes, Apply to all trees");
await expect(this.yesOpt).toBeClickable();
await this.yesOpt.click();
Expand Down

0 comments on commit f77e0e8

Please sign in to comment.