(root: Root)
| 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 }) |
| 51 | Locator.fire(root.get(Locator.tag("form")), "submit") |
no test coverage detected