MCPcopy
hub / github.com/microsoft/vscode / waitForQuickInputElements

Method waitForQuickInputElements

test/automation/src/quickinput.ts:40–42  ·  view source on GitHub ↗
(accept: (names: string[]) => boolean)

Source from the content-addressed store, hash-verified

38 }
39
40 async waitForQuickInputElements(accept: (names: string[]) => boolean): Promise<void> {
41 await this.code.waitForElements(QuickInput.QUICK_INPUT_ENTRY_LABEL, false, els => accept(els.map(e => e.textContent)));
42 }
43
44 async waitForQuickInputClosed(): Promise<void> {
45 await this.code.waitForElement(QuickInput.QUICK_INPUT, r => !!r && r.attributes.style.indexOf('display: none;') !== -1);

Callers 6

assertTasksMethod · 0.80
setupFunction · 0.80
setupFunction · 0.80
setupFunction · 0.80

Calls 3

waitForElementsMethod · 0.80
mapMethod · 0.65
acceptFunction · 0.50

Tested by 3

setupFunction · 0.64
setupFunction · 0.64
setupFunction · 0.64