I think `it('should scroll down and up'` should remain unchanged. Then you can duplicate the test and call it `it('should scroll down and up using element'` This way both cases (having element, not having element) are covered.