@public-ui/components
Version:
Contains all web components that belong to KoliBri - The accessible HTML-Standard.
20 lines (19 loc) • 905 B
TypeScript
import { type E2EPage } from '@stencil/playwright';
import type { Locator } from '@playwright/test';
import { type Page } from '@playwright/test';
import type { FillAction } from './utils/FillAction';
import type { InputTypeOnDefault } from '../schema';
type TestInputCallbacksAndEventsOptions = {
additionalProperties?: string;
componentName: string;
equalityCheck?: 'toBe' | 'toEqual';
expectedValue?: unknown;
fillAction?: FillAction;
omittedEvents?: string[];
selectInput?: (page: Page & E2EPage) => Locator;
testValue?: unknown;
};
declare const testInputCallbacksAndEvents: <ElementType extends {
_on?: InputTypeOnDefault;
} & (HTMLElement | SVGElement)>({ additionalProperties, componentName, equalityCheck, expectedValue, fillAction, omittedEvents, selectInput, testValue, }: TestInputCallbacksAndEventsOptions) => void;
export { testInputCallbacksAndEvents };