9418042 WebUI tests: Fix 'Button is not displayed' exception

Authored and Committed by stsymbal 4 years ago
    WebUI tests: Fix 'Button is not displayed' exception
    
    Add a small timeout (up to 5 seconds) which allows to prevent exceptions when
    WebDriver attempts to click a button before it is rendered.
    
    Ticket: https://pagure.io/freeipa/issue/8169
    
    Signed-off-by: Serhii Tsymbaliuk <stsymbal@redhat.com>
    Reviewed-By: Sergey Orlov <sorlov@redhat.com>