Skip to content

'Diffs.ShouldHaveChanges()' passing when there are no changes. #1008

Discussion options

You must be logged in to vote

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":

  • bUnit is not a browser - with that, certain restrictions are in place. For example, if your solution relies on pure CSS - we don't "apply" CSS rules. There are implementations that use the :checked pseudoelement to make the collapsible happen. This will not work with bUnit
  • If you use javascript, then this will also not applied to your DOM
  • Depending on your implementation details, you might want to skip that test due to the fact that it has nothing to do with your (1st party) logic but you would test a …

Replies: 1 comment 3 replies

Comment options

linkdotnet
Mar 1, 2023
Maintainer Sponsor

You must be logged in to vote
3 replies
@ricardo-noyolalozano
Comment options

@linkdotnet
Comment options

linkdotnet Mar 1, 2023
Maintainer Sponsor

@ricardo-noyolalozano
Comment options

Answer selected by ricardo-noyolalozano
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants