Bug 29485: (follow-up) Trying to prevent administration_tasks.t to fail randomly
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 24 Nov 2021 08:12:16 +0000 (09:12 +0100)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 24 Nov 2021 08:38:13 +0000 (09:38 +0100)
commit65edbe5af21b9bba154cf5d5120d83da43eee0c8
treeafc6869e5024aa450af49f8676e56e88098945f6
parentf4dcabc3bd89624d033595fca6b6c20c05791c82
Bug 29485: (follow-up) Trying to prevent administration_tasks.t to fail randomly

Recreated the problem after run #47
Error while executing command: no such element: Unable to locate element: //*[@id="userid"] at /usr/local/share/perl/5.28.1/Selenium/Remote/Driver.pm line 411.

With this patch I do not longer recreate the failure. It's ugly but,
well, I don't have any other solutions. It seems that the accept_alert
is taking too long and is async (??)

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/selenium/administration_tasks.t