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

--- Comment #9 from Andreas Roussos <[email protected]> ---
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.
_______________________________________________
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to