test: Wait for docker buttons to be refreshed before clicking
test: Wait for docker buttons to be refreshed before clicking

This otherwise leads to races.

Closes #2650
Reviewed-by: Marius Vollmer <bb11c6e942c5cc765df5f04da146b3198127a7a3@redhat.com>

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