]> git.koha-community.org Git - koha.git/commit
Bug 30595: Prevent update_child_to_adult.t to fail randomly
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 22 Apr 2022 09:42:09 +0000 (11:42 +0200)
committerKyle Hall <kyle@bywatersolutions.com>
Fri, 29 Apr 2022 17:33:45 +0000 (13:33 -0400)
commitfaa35972b038b9df0459a582ced73e98adb897cc
tree45376de16f537d1122bdd791e0ee52f9d0e25c67
parentf8ae453d15a315acbf9f6d6dc631bc6876c2fe40
Bug 30595: Prevent update_child_to_adult.t to fail randomly

t/db_dependent/selenium/update_child_to_adult.t ..         # Looks like you planned 3 tests but ran 2.

    #   Failed test 'Update child to adult'
    #   at t/db_dependent/selenium/update_child_to_adult.t line 132.
    # Looks like you planned 3 tests but ran 2.
    # Looks like you failed 1 test of 2 run.
t/db_dependent/selenium/update_child_to_adult.t .. 1/1
 #   Failed test 'Update child to patron'
 #   at t/db_dependent/selenium/update_child_to_adult.t line 153.
Cannot wait more for element '//input[@type="submit"]' to be visible at /kohadevbox/koha/t/lib/Selenium.pm line 189.

It happens when there are too many patron's categories and the submit
button is not in the viewport.

Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/selenium/update_child_to_adult.t