[Koha-bugs] [Bug 24801] selenium/administration_tasks.t failing if too many categories/libraries displayed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Mar 26 11:08:15 CET 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24801

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #101787|0                           |1
        is obsolete|                            |

--- Comment #6 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 101796
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=101796&action=edit
Bug 24801: Display all the libraries - Selenium fix

Same as for categories.

22:41:28 koha_1       | STRACE: /usr/share/perl5/Try/Tiny.pm:104 in
Selenium::Remote::Driver::catch {...}
22:41:28 koha_1       |        
/usr/local/share/perl/5.20.2/Selenium/Remote/Driver.pm:353 in Try::Tiny::try
22:41:28 koha_1       |         (eval 1337):1 in
Selenium::Remote::Driver::__ANON__
22:41:28 koha_1       |         (eval 1339):2 in
Selenium::Remote::Driver::__ANON__
22:41:28 koha_1       |        
/usr/local/share/perl/5.20.2/Selenium/Remote/Driver.pm:1330 in
Selenium::Remote::Driver::_execute_command
22:41:28 koha_1       |        
/usr/local/share/perl/5.20.2/Selenium/Remote/Driver.pm:1330 in (eval)
22:41:28 koha_1       |         /kohadevbox/koha/t/lib/Selenium.pm:174 in
Selenium::Remote::Driver::find_element
22:41:28 koha_1       |         /kohadevbox/koha/t/lib/Selenium.pm:166 in
t::lib::Selenium::click_when_visible
22:41:28 koha_1       |        
t/db_dependent/selenium/administration_tasks.t:128 in t::lib::Selenium::click
22:41:28 koha_1       |
22:41:28 selenium_1   | 14:41:28.273 INFO - Executing: [take screenshot])
22:41:28 selenium_1   | 14:41:28.873 INFO - Done: [take screenshot]
22:41:31 koha_1       |
22:41:31 koha_1       | SCREENSHOT:
https://framapic.org/0nvX5dhLHpU1/tAEnENSeLRXB
22:41:31 koha_1       | An element could not be located on the page using the
given search parameters: //div[@class="main
container-fluid"]//a[contains(@href,
"/admin/branches.pl?op=add_form&branchcode=UT_BC")],xpath at
/kohadevbox/koha/t/lib/Selenium.pm line 174.

The screenshot was obvious, the UT_BC was not on the first page.
There was a total of 33 libraries at this point, which is not expected,
maybe data not deleted from previous selenium tests.

Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list