@pytest.mark.integration
@pytest.mark.parametrize('style', ['visibility: hidden', 'display: none'])
def test_invisible(caret_tester, style):
 caret_tester.js.load('position_caret/invisible.html', style=style)
 caret_tester.check()

@ pytest . mark . integration @ pytest . mark . parametrize ( 'style' , [ 'visibility: hidden' , 'display: none' ] ) def test_invisible ( caret_tester , style ) : caret_tester . js . load ( 'position_caret/invisible.html' , style = style ) caret_tester . check ( )
test with hidden text elements .