[Koha-bugs] [Bug 35506] selenium/regressions.t is failing randomly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jan 8 21:41:10 CET 2024


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

--- Comment #26 from Victor Grousset/tuxayo <victor at tuxayo.net> ---
Great, so the main idea of the patch doesn't have a fatal flaw. That was the
main focus of the last few days.

> What's the next step then

There is this question remaining:
Instead of having the flag window._pageFullyReady, should the problematic
buttons be hidden in the HTML? (and *maybe* have a dummy button with a loading
icon in place to show the user that stuff it loading) And then the stuff in
$(document).ready() makes them visible after setting the onclick callback. And
the test just waits for the button to be visible instead of the flag to be set.

----

Also, can we try without the sleeps (DT_delay) before wait_for_ajax? That's 10
seconds of sleep in total (because loop). And in my very numerous runs, I never
had a failure where wait_for_ajax instantly returned and the table content
wasn't loaded. So there are fair chances that the show checkout button isn't
affected by the same issue as seen in bug 35284.

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


More information about the Koha-bugs mailing list