[Koha-bugs] [Bug 32447] In items table barcode column can not be filtered

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Feb 21 12:14:10 CET 2023


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

--- Comment #9 from Andreas Roussos <a.roussos at dataly.gr> ---
Unfortunately, I can't get my Selenium unit test to work consistently
as it fails randomly while testing the 'Holdings' and 'Other holdings'
DataTables. Most of the time it passes, but sometimes it fails with:

Unable to locate element: //*[@id="otherholdings_table_activate_filters"]

Also, sometimes the 'Holdings' DataTable will not include both items
from the bibliographic record I'm creating within the unit test, and
this causes my tests to fail. I've added a 10-second sleep to ensure
Zebra has indexed the records by the time I'm drawing the table, but
it doesn't seem to make a difference.

I have some difficulty in designing the subtest for the Lost items
report too, as the 'Activate filters' link element does not react
when clicked and does not expand the table filters. Clicking on the
same link in the first two tests works fine, so I'm at loss as to
what's causing this...

For these reasons, I'm just going to attach only my patch for the
time being and leave the Selenium unit test for later. I've manually
tested the proposed changes extensively and also wrote a detailed
test plan -- hopefully that should be enough to move this forward.

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


More information about the Koha-bugs mailing list