We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c89049d commit 31ad436Copy full SHA for 31ad436
packages/amazonq/test/e2e_new/amazonq/helpers/pinContextHelper.ts
@@ -106,6 +106,7 @@ export async function getSubMenuItems(webview: WebviewView): Promise<{ items: We
106
* NOTE: To find all possible text labels, you can call getPinContextMenuItems
107
*/
108
export async function clickSubMenuItem(webview: WebviewView, itemName: string): Promise<void> {
109
+ // We require a sleep function of 0 so that the DOM of the SubMenu can load correctly.
110
await sleep(0)
111
const item = await waitForElement(
112
webview,
0 commit comments