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:
parent
3b24ca4ebb
commit
c34d222d57
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ SKIP: {
|
||||||
|
|
||||||
$driver->find_element('//a[@id="user-menu"]')->click;
|
$driver->find_element('//a[@id="user-menu"]')->click;
|
||||||
$driver->find_element('//a[@id="logout"]')->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
|
$driver->find_element('//div[@id="login"]'); # logged out
|
||||||
|
|
||||||
# Using the form on the right
|
# Using the form on the right
|
||||||
|
|
Loading…
Reference in a new issue