[Koha-bugs] [Bug 5287] Add floating toolbar to search results in OPAC

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 26 15:20:44 CEST 2019


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

Jonathan Druart <jonathan.druart at bugs.koha-community.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jonathan.druart at bugs.koha-c
                   |                            |ommunity.org

--- Comment #16 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
(In reply to Martin Renvoize from comment #14)
> Created attachment 91001 [details] [review]
> Bug 5287: (RM follow-up) Make tests basket compatible
> 
> The selenium tests for addtobasket/removefrombasket started to fail
> after the introduction of bug 5287. It turns out that a selenium click
> handler will trigger a scroll event if the element you're trying to
> click isn't in the view port. Unfortunately it scrolls the viewport just
> enough for the element to come on screen but that also triggers the
> floating toolbar in this case which ends up floating directly over the
> element we want to 'click' and so the click rightfully fails as the
> element is not 'clickable'.
> 
> This patch works around the issue by setting the window size to being a
> HD screen in portrait orientation and therefore negates the need for
> scrolling to put the elements in within the viewport.
> 
> Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

The error was:
koha_1       | Error while executing command: clickElement: An unknown
server-side error occurred while processing the command.: Element is not
clickable at point (599.0999755859375, 10.133331298828125). Other element would
receive the click: <div id="top-pages" class="pull-left"></div>

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are watching all bug changes.


More information about the Koha-bugs mailing list