[Koha-bugs] [Bug 31207] The OPAC Shelf browser fails to display local cover images

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Jul 22 14:26:14 CEST 2022


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

ByWater Sandboxes <bws.sandboxes at gmail.com> changed:

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

--- Comment #12 from ByWater Sandboxes <bws.sandboxes at gmail.com> ---
Created attachment 138017
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=138017&action=edit
Bug 31207: Add Selenium test for the OPAC Shelf browser

This adds a new Selenium test to automatically test the
functionality of the OPAC Shelf browser with regards to the
display of local cover images. This unit test has a somewhat
narrow scope at the moment (i.e. it only checks if everything
is working fine when local covers are in use), but can be
expanded in the future to include OPAC Shelf browser tests for
other cover image providers, etc.

Also added are two sample images to be used by the test when
uploading a local cover image. They come from the Unsplash
website and have this license: https://unsplash.com/license
Attribution to the image creators is given in the test code.

Test plan:

1) Apply the other patch from this bug report, then run the
   new Selenium unit test which should pass without failures:

   cd t/db_dependent/selenium/
   prove -v opacshelfbrowser.t

Signed-off-by: Sally <sally.healey at cheshiresharedservices.gov.uk>

Signed-off-by: Sally <sally.healey at cheshiresharedservices.gov.uk>

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


More information about the Koha-bugs mailing list