Skip to content

Commit b6111a1

Browse files
committed
annoying
1 parent 801ff65 commit b6111a1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

site/src/components/MultiSelectCombobox/MultiSelectCombobox.stories.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ const meta: Meta<typeof MultiSelectCombobox> = {
1919
options: organizations.map((org) => ({
2020
label: org.display_name,
2121
value: org.id,
22-
icon: org.icon,
2322
})),
2423
},
2524
};
@@ -40,17 +39,17 @@ export const OpenCombobox: Story = {
4039
},
4140
};
4241

43-
export const NoIcons: Story = {
42+
export const WithIcons: Story = {
4443
args: {
4544
options: organizations.map((org) => ({
4645
label: org.display_name,
4746
value: org.id,
47+
icon: org.icon,
4848
})),
4949
},
5050
play: async ({ canvasElement }) => {
5151
const canvas = within(canvasElement);
5252
await userEvent.click(canvas.getByPlaceholderText("Select organization"));
53-
5453
await waitFor(() =>
5554
expect(canvas.getByText("My Organization")).toBeInTheDocument(),
5655
);

0 commit comments

Comments
 (0)