From 5bff912162aa1ed5ebe102931e2e9c080c7133eb Mon Sep 17 00:00:00 2001 From: Cory LaViska Date: Tue, 20 Dec 2022 13:00:13 -0500 Subject: [PATCH] loosen up that type --- src/internal/test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/internal/test.ts b/src/internal/test.ts index a9446fa90..935ca70c9 100644 --- a/src/internal/test.ts +++ b/src/internal/test.ts @@ -3,7 +3,7 @@ import { sendMouse } from '@web/test-runner-commands'; /** A testing utility that measures an element's position and clicks on it. */ export async function clickOnElement( /** The element to click */ - el: HTMLElement, + el: Element, /** The location of the element to click */ position: 'top' | 'right' | 'bottom' | 'left' | 'center' = 'center', /** The horizontal offset to apply to the position when clicking */