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

Method waitForSetValue

test/automation/src/code.ts:297–299  ·  view source on GitHub ↗
(selector: string, value: string)

Source from the content-addressed store, hash-verified

295 }
296
297 async waitForSetValue(selector: string, value: string): Promise<void> {
298 await this.poll(() => this.driver.setValue(selector, value), () => true, `set value '${selector}'`);
299 }
300
301 async waitForElements(selector: string, recursive: boolean, accept: (result: IElement[]) => boolean = result => result.length > 0, retryCount?: number): Promise<IElement[]> {
302 return await this.poll(() => this.driver.getElements(selector, recursive), accept, `get elements '${selector}'`, retryCount);

Callers 10

updateKeybindingMethod · 0.80
typeMethod · 0.80
renameMethod · 0.80
commitMethod · 0.80
searchForMethod · 0.80
setFilesToIncludeTextMethod · 0.80
setReplaceTextMethod · 0.80
waitForReplCommandMethod · 0.80
setupFunction · 0.80
renameMethod · 0.80

Calls 2

pollMethod · 0.95
setValueMethod · 0.65

Tested by 1

setupFunction · 0.64