import { fireEvent , screen } from '@testing-library/react' ; import { StepFunction } from '../../../lib/step' ; export const SelectContactSearchOptionInDialPad = async ( { option } ) => { fireEvent . click ( screen . queryAllByText ( option ) [ 0 ] ) ; } ;