Fix stories

This commit is contained in:
Charles Bochet
2025-03-13 15:35:46 +01:00
parent 3ab73dd777
commit 15019d2c66
2 changed files with 3 additions and 1 deletions

View File

@ -58,7 +58,7 @@ export const WithExpandedList: Story = {
const rootCanvas = within(root);
const chipCount = await rootCanvas.findByText('+2');
const chipCount = await rootCanvas.findByText('+3');
await userEvent.click(chipCount);

View File

@ -165,6 +165,8 @@ export const DisabledWithDefaultStaticValues: Story = {
const selectedRecord = await canvas.findByText(
`${peopleMock.name.firstName} ${peopleMock.name.lastName}`,
undefined,
{ timeout: 3000 },
);
expect(selectedRecord).toBeVisible();