MCPcopy Create free account
hub / github.com/Effect-TS/effect / nameInput

Function nameInput

packages/effect/test/ui/WorkedExample.test.ts:48–48  ·  view source on GitHub ↗
(root: Root)

Source from the content-addressed store, hash-verified

46
47const click = (root: Root, text: string) => Locator.fire(root.get(Locator.text(text, { exact: true })), "click")
48const nameInput = (root: Root) => root.get(Locator.attr("aria-label", "Name")) as TestHost.TestElement
49const rename = (root: Root, name: string) => {
50 Locator.fire(nameInput(root), "input", { value: name })
51 Locator.fire(root.get(Locator.tag("form")), "submit")

Callers 2

renameFunction · 0.85

Calls 2

getMethod · 0.65
attrMethod · 0.65

Tested by

no test coverage detected