MCPcopy
hub / github.com/vitest-dev/vitest / fill

Method fill

packages/browser/context.d.ts:632–632  ·  view source on GitHub ↗

* Sets the value of the current `input`, `textarea` or `contenteditable` element. * @see {@link https://vitest.dev/api/browser/interactivity#userevent-fill}

(text: string, options?: UserEventFillOptions)

Source from the content-addressed store, hash-verified

630 * @see {@link https://vitest.dev/api/browser/interactivity#userevent-fill}
631 */
632 fill(text: string, options?: UserEventFillOptions): Promise<void>
633 /**
634 * Drags the current element to the target location.
635 * @see {@link https://vitest.dev/api/browser/interactivity#userevent-dropto}

Callers 15

fillFunction · 0.65
fillMethod · 0.65
fillMethod · 0.65
setMaxWorkersMethod · 0.65
fillMethod · 0.65
fillFunction · 0.65
userEvent.test.tsFile · 0.65
failing.test.tsFile · 0.65
keyboard.test.tsFile · 0.65
diff.test.tsFile · 0.65
snapshot.test.tsFile · 0.65
__Function · 0.65

Calls

no outgoing calls

Tested by

no test coverage detected