Skip to content

Commit 6683ba4

Browse files
committed
feat(ComboBox): description item prop * 2
1 parent 5fccbf8 commit 6683ba4

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/components/fields/ComboBox/ComboBox.stories.tsx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -360,3 +360,10 @@ export const ItemsWithDescriptions: StoryFn<CubeComboBoxProps<any>> = (
360360
</ComboBox>
361361
);
362362
ItemsWithDescriptions.args = {};
363+
ItemsWithDescriptions.play = async ({ canvasElement }) => {
364+
const { getByTestId } = within(canvasElement);
365+
366+
const trigger = getByTestId('ComboBoxTrigger');
367+
368+
await userEvent.click(trigger);
369+
};

0 commit comments

Comments
 (0)