'Diffs.ShouldHaveChanges()' passing when there are no changes. #1008
-
I have a test that clicks on a collapsible panel twice to close and then re-open it. The open state looks or should look exactly the same as the first render. When I run 'GetChangesSinceFirstRender()' on the rendered component after the second click, I get back an empty ReadOnlyList. Just wondering if this is a bug or whether I'm not thinking about this correctly.
Using bUnit version: 1.16.2 |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
I guess to give you educated advise, we would need to see the code of your
All in all, it would be helpful to see the code. |
Beta Was this translation helpful? Give feedback.
Hey @ricardo-noyolalozano,
I guess to give you educated advise, we would need to see the code of your
CollapsePanel
. A few general thoughts I want to give you, that might be the "culprit"::checked
pseudoelement to make the collapsible happen. This will not work with bUnit