You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Bug]: Getting expect.soft.toMatchAriaSnapshot: value.startsWith when I try to run on a drop down contains a dropdown option '- checkbox "[Select all]" [checked]'
#34032
Open
marcusNumminen opened this issue
Dec 16, 2024
· 1 comment
Version
1.49.1
Steps to reproduce
I have a drop down that look like this
and I use codegen to generate the snapshot. Codegen give me this yml:
When use this in my test I get the following error:
TypeError: expect.soft.toMatchAriaSnapshot: value.startsWith is not a function
However if I comment out (or remove) the first listitem it works fine
Sorry I can't give you a better repro than this.....
Expected behavior
It should work fine with the above drop down content (see picture)
Actual behavior
When I run the code I get
TypeError: expect.soft.toMatchAriaSnapshot: value.startsWith is not a function
errorAdditional context
No response
Environment
The text was updated successfully, but these errors were encountered: