Bug 25811: Try to fix the random failure caused by not finding id=login

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Jonathan Druart 2020-08-03 17:57:02 +02:00
parent 3b24ca4ebb
commit c34d222d57

View file

@ -96,6 +96,7 @@ SKIP: {
$driver->find_element('//a[@id="user-menu"]')->click;
$driver->find_element('//a[@id="logout"]')->click;
$driver->get($mainpage); # This should not be needed but we the next find_element fails randomly
$driver->find_element('//div[@id="login"]'); # logged out
# Using the form on the right