(which: "next" | "prev" | "close")
| 48 | export const popoverDescription = () => document.querySelector(".driver-popover-description")?.textContent?.trim(); |
| 49 | export const progressText = () => document.querySelector(".driver-popover-progress-text")?.textContent?.trim(); |
| 50 | export const navButton = (which: "next" | "prev" | "close") => |
| 51 | document.querySelector<HTMLButtonElement>(`.driver-popover-${which}-btn`); |
| 52 | |
| 53 | export function pressKey(key: string): void { |
| 54 | window.dispatchEvent(new KeyboardEvent("keyup", { key })); |
no outgoing calls
no test coverage detected
searching dependent graphs…