Skip to content

Commit 31ad436

Browse files
committed
fix: pr comments
1 parent c89049d commit 31ad436

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/amazonq/test/e2e_new/amazonq/helpers/pinContextHelper.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ export async function getSubMenuItems(webview: WebviewView): Promise<{ items: We
106106
* NOTE: To find all possible text labels, you can call getPinContextMenuItems
107107
*/
108108
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.
109110
await sleep(0)
110111
const item = await waitForElement(
111112
webview,

0 commit comments

Comments
 (0)