https://cypress.io logo
Hi, I have a list view with a slide-out area for f...
# e2e-testing
w
Hi, I have a list view with a slide-out area for filters. I'm trying to write a new command which can set these filters for me and before I can set them, I would need to check if the slide-out has ... slided out. I'm more a PHP guy and thus have difficulties wrapping my head around this. In PHP I would write something like if (!$elem->hasClass('visible')) {clickOnSlideOutButton()} ...do the actual setting of the filters As far as I understand it, this wouldn't be the way to go in cypress. The documentation I found so far is not clear to me either. Would anybody have an example how this would work out?