Stabilize webui tests - added ability to re-run webui tests when there are failures