(loc: Locator)
| 83 | } |
| 84 | |
| 85 | export async function expectExists(loc: Locator) { |
| 86 | await expect.element(loc).toBeInTheDocument(); |
| 87 | } |
| 88 | |
| 89 | export async function focusAndExpectToHaveFocus(loc: Locator) { |
| 90 | (loc.element() as HTMLElement).focus(); |
no outgoing calls
searching dependent graphs…