Fix tests (#537)

* Fix tests

* Fix lint
This commit is contained in:
Charles Bochet
2023-07-07 23:11:38 -07:00
committed by GitHub
parent c26a7fda9a
commit e2822ed095
4 changed files with 41 additions and 22 deletions

View File

@ -73,7 +73,9 @@ export const FilterByAccountOwner: Story = {
await userEvent.click(accountOwnerFilterButton);
const accountOwnerNameInput = canvas.getByPlaceholderText('Account owner');
const accountOwnerNameInput = await canvas.findByPlaceholderText(
'Account owner',
);
await userEvent.type(accountOwnerNameInput, 'Char', {
delay: 200,
});