File tree Expand file tree Collapse file tree 2 files changed +109
-1
lines changed
src/components/MultiSelectCombobox Expand file tree Collapse file tree 2 files changed +109
-1
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,23 @@ export const OpenCombobox: Story = {
40
40
} ,
41
41
} ;
42
42
43
+ export const NoIcons : Story = {
44
+ args : {
45
+ options : organizations . map ( ( org ) => ( {
46
+ label : org . display_name ,
47
+ value : org . id ,
48
+ } ) ) ,
49
+ } ,
50
+ play : async ( { canvasElement } ) => {
51
+ const canvas = within ( canvasElement ) ;
52
+ await userEvent . click ( canvas . getByPlaceholderText ( "Select organization" ) ) ;
53
+
54
+ await waitFor ( ( ) =>
55
+ expect ( canvas . getByText ( "My Organization" ) ) . toBeInTheDocument ( ) ,
56
+ ) ;
57
+ } ,
58
+ } ;
59
+
43
60
export const SelectComboboxItem : Story = {
44
61
play : async ( { canvasElement } ) => {
45
62
const canvas = within ( canvasElement ) ;
@@ -100,7 +117,7 @@ export const ClearAllComboboxItems: Story = {
100
117
} ,
101
118
} ;
102
119
103
- export const WithGroupedIcons : Story = {
120
+ export const WithGroups : Story = {
104
121
args : {
105
122
placeholder : "Make a playlist" ,
106
123
groupBy : "album" ,
You can’t perform that action at this time.
0 commit comments