Closed panzarino closed 1 month ago
This issue has not had any activity in 180 days. Cypress evolves quickly and the reported behavior should be tested on the latest version of Cypress to verify the behavior is still occurring. It will be closed in 14 days if no updates are provided.
This issue has been closed due to inactivity.
Current behavior:
Passing an object as the first parameter to the '
css
,prop
, orattr
assertions will always pass, regardless of the element's actual properties.Desired behavior:
There are two possible courses of action here:
It appears that the second course of action is preferred, as it will make it simpler when performing multiple assertions and be more consistent with how a developer may expect it to function.
Test code to reproduce
This same behavior can be observed with
prop
andattr
.Versions
4.5.0