test: Also take style.visibility into account
test: Also take style.visibility into account

When waiting for an element to become visible.

This is needed for b.wait_visible('#login') on the login page, at
least.

Closes #3662
Reviewed-by: Stef Walter <8a7fbf0f15d3ad982af54ef28f5c117d2494b76c@redhat.com>

vanloswang/cockpit,michalskrivanek/cockpit,dperpeet/cockpit,vanloswang/cockpit,garrett/cockpit,Scribery/cockpit,harishanand95/cockpit,stefwalter/cockpit,Scribery/cockpit,harishanand95/cockpit,SotolitoLabs/cockpit,stefwalter/cockpit,michalskrivanek/cockpit,dperpeet/cockpit,larsu/cockpit,moraleslazaro/cockpit,andreasn/cockpit,mvollmer/cockpit,martinpitt/cockpit,vanloswang/cockpit,andreasn/cockpit,larsu/cockpit,garrett/cockpit,xhad/cockpit,martinpitt/cockpit,stefwalter/cockpit,mareklibra/cockpit,Scribery/cockpit,mareklibra/cockpit,petervo/cockpit,dperpeet/cockpit,SotolitoLabs/cockpit,sgallagher/cockpit,jscotka/cockpit,mareklibra/cockpit,cockpit-project/cockpit,michalskrivanek/cockpit,sgallagher/cockpit,larsu/cockpit,moraleslazaro/cockpit,mareklibra/cockpit,deryni/cockpit,cockpituous/cockpit,larskarlitski/cockpit,andreasn/cockpit,sgallagher/cockpit,andreasn/cockpit,martinpitt/cockpit,cockpituous/cockpit,garrett/cockpit,arilivigni/cockpit,moraleslazaro/cockpit,matobet/cockpit,deryni/cockpit,petervo/cockpit,cockpituous/cockpit,xhad/cockpit,SotolitoLabs/cockpit,cockpituous/cockpit,sgallagher/cockpit,petervo/cockpit,vanloswang/cockpit,deryni/cockpit,andreasn/cockpit,SotolitoLabs/cockpit,andreasn/cockpit,sgallagher/cockpit,martinpitt/cockpit,mvollmer/cockpit,stefwalter/cockpit,petervo/cockpit,larskarlitski/cockpit,cockpit-project/cockpit,harishanand95/cockpit,larskarlitski/cockpit,arilivigni/cockpit,jscotka/cockpit,deryni/cockpit,arilivigni/cockpit,moraleslazaro/cockpit,matobet/cockpit,larskarlitski/cockpit,mvollmer/cockpit,michalskrivanek/cockpit,moraleslazaro/cockpit,stefwalter/cockpit,Scribery/cockpit,xhad/cockpit,matobet/cockpit,arilivigni/cockpit,SotolitoLabs/cockpit,cockpituous/cockpit,jscotka/cockpit,cockpit-project/cockpit,harishanand95/cockpit,Scribery/cockpit,larsu/cockpit,garrett/cockpit,xhad/cockpit,mareklibra/cockpit,stefwalter/cockpit,stefwalter/cockpit,dperpeet/cockpit,cockpituous/cockpit,martinpitt/cockpit,Scribery/cockpit,matobet/cockpit,harishanand95/cockpit,larsu/cockpit,cockpit-project/cockpit,jscotka/cockpit,vanloswang/cockpit,sgallagher/cockpit,SotolitoLabs/cockpit,andreasn/cockpit,cockpit-project/cockpit,harishanand95/cockpit,jscotka/cockpit,michalskrivanek/cockpit,larsu/cockpit,garrett/cockpit,jscotka/cockpit,mvollmer/cockpit,xhad/cockpit,dperpeet/cockpit,vanloswang/cockpit,larskarlitski/cockpit,deryni/cockpit,mareklibra/cockpit,xhad/cockpit,dperpeet/cockpit,petervo/cockpit,arilivigni/cockpit,deryni/cockpit,moraleslazaro/cockpit,larskarlitski/cockpit,arilivigni/cockpit,deryni/cockpit,dperpeet/cockpit,matobet/cockpit,Scribery/cockpit,arilivigni/cockpit,petervo/cockpit,harishanand95/cockpit,matobet/cockpit,vanloswang/cockpit,xhad/cockpit,mvollmer/cockpit,moraleslazaro/cockpit,larskarlitski/cockpit,mareklibra/cockpit,michalskrivanek/cockpit,petervo/cockpit,michalskrivanek/cockpit,sgallagher/cockpit,SotolitoLabs/cockpit