(root: Root, text: string)
| 45 | type Root = Pick<TestHost.TestRoot<any, any, any>, "get" | "fetches"> |
| 46 | |
| 47 | const click = (root: Root, text: string) => Locator.fire(root.get(Locator.text(text, { exact: true })), "click") |
| 48 | const nameInput = (root: Root) => root.get(Locator.attr("aria-label", "Name")) as TestHost.TestElement |
| 49 | const rename = (root: Root, name: string) => { |
| 50 | Locator.fire(nameInput(root), "input", { value: name }) |
no test coverage detected