Replies: 3 comments 1 reply
-
I think there may be some issues with codesandbox in this particular area, could you share it as a CRA or some other minimal setup in github? |
Beta Was this translation helpful? Give feedback.
-
@rppld I pulled your test and setup out of the code sandbox and it worked fine for me, but couldn't get the tests in codesandbox to work even with |
Beta Was this translation helpful? Give feedback.
-
@snowystinger @LFDanLu apologies for my superlate response. Been on vacation when I got your replies and then forgot. Anyway thanks a lot for trying this out. The tests do indeed pass for me too if I move everything into a CRA installation. Weird. We’re using CRA for a project at work and there I’m facing the same issues as in the Codesandbox above. |
Beta Was this translation helpful? Give feedback.
-
I’m trying to test a
<ComboBox />
component built with@react-aria/combobox
but I’m having trouble making assertions on the appearance of the listbox upon typing into the field, see https://codesandbox.io/s/late-fog-ketfr?file=/src/ComboBox.test.tsxI’ve had a look at the test implementation for
@react-spectrum/combobox
, and tried to replicate the setup with using fake timers as well as the customtypeText()
helper but to no avail.Anyone got any pointers for me?
Beta Was this translation helpful? Give feedback.
All reactions