Fix stories
This commit is contained in:
@ -58,7 +58,7 @@ export const WithExpandedList: Story = {
|
|||||||
|
|
||||||
const rootCanvas = within(root);
|
const rootCanvas = within(root);
|
||||||
|
|
||||||
const chipCount = await rootCanvas.findByText('+2');
|
const chipCount = await rootCanvas.findByText('+3');
|
||||||
|
|
||||||
await userEvent.click(chipCount);
|
await userEvent.click(chipCount);
|
||||||
|
|
||||||
|
|||||||
@ -165,6 +165,8 @@ export const DisabledWithDefaultStaticValues: Story = {
|
|||||||
|
|
||||||
const selectedRecord = await canvas.findByText(
|
const selectedRecord = await canvas.findByText(
|
||||||
`${peopleMock.name.firstName} ${peopleMock.name.lastName}`,
|
`${peopleMock.name.firstName} ${peopleMock.name.lastName}`,
|
||||||
|
undefined,
|
||||||
|
{ timeout: 3000 },
|
||||||
);
|
);
|
||||||
expect(selectedRecord).toBeVisible();
|
expect(selectedRecord).toBeVisible();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user