We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2dd8fda commit 7ba10eaCopy full SHA for 7ba10ea
src/lib/holocene/combobox/combobox.stories.svelte
@@ -140,7 +140,8 @@
140
const canvas = within(canvasElement);
141
const combobox = canvas.getByTestId(id);
142
await userEvent.type(combobox, 'E');
143
- const menu = canvas.getByRole('listbox');
+ // Wait for the listbox to appear since it may have a transition
144
+ const menu = await canvas.findByRole('listbox');
145
expect(menu).toBeInTheDocument();
146
}}
147
/>
@@ -153,7 +154,8 @@
153
154
155
await userEvent.type(combobox, 'one');
156
157
158
159
160
161
0 commit comments