fix: clear before typing
This commit is contained in:
parent
b26c1bac7a
commit
36bd0d84e6
@ -17,6 +17,7 @@ describe('OrderEditDialog', () => {
|
|||||||
);
|
);
|
||||||
const editOrder = await screen.findByTestId('edit-order');
|
const editOrder = await screen.findByTestId('edit-order');
|
||||||
const limitPrice = within(editOrder).getByLabelText('Price');
|
const limitPrice = within(editOrder).getByLabelText('Price');
|
||||||
|
await userEvent.clear(limitPrice);
|
||||||
await userEvent.type(limitPrice, '0.111111');
|
await userEvent.type(limitPrice, '0.111111');
|
||||||
const submitButton = within(editOrder).getByRole('button', {
|
const submitButton = within(editOrder).getByRole('button', {
|
||||||
name: 'Update',
|
name: 'Update',
|
||||||
|
Loading…
Reference in New Issue
Block a user