sforkowany z mirror/soapbox
Fix test
rodzic
5900068144
commit
471b2caa3f
|
@ -39,7 +39,10 @@ describe('<AgeVerification />', () => {
|
|||
store,
|
||||
);
|
||||
|
||||
await userEvent.type(screen.getByLabelText('Birth Date'), '{enter}');
|
||||
await userEvent.selectOptions(
|
||||
screen.getByTestId('datepicker-year'),
|
||||
screen.getByRole('option', { name: '2020' }),
|
||||
);
|
||||
|
||||
fireEvent.submit(
|
||||
screen.getByRole('button'), {
|
||||
|
|
Ładowanie…
Reference in New Issue