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