@payfit/unity-components
Version:
18 lines (17 loc) • 594 B
TypeScript
import { PlayCtx } from '../../types/testing.js';
/**
* Factory to get multi-select testing utils
* @param context the story context
*/
export declare const getTestingUtilsMultiSelect: (context: PlayCtx) => {
selectOption: ({ labelText, optionNames, container, }: {
labelText: string;
optionNames: string[];
container?: HTMLElement;
}) => Promise<void>;
assertSelectedOptions: ({ labelText, expectedDisplayValue, container, }: {
labelText: string;
expectedDisplayValue: string;
container?: HTMLElement;
}) => Promise<void>;
};