Bug 34886: Add selenium tests
authorPedro Amorim <pedro.amorim@ptfs-europe.com>
Thu, 1 Feb 2024 15:42:12 +0000 (14:42 -0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 17 Apr 2024 15:10:07 +0000 (17:10 +0200)
commit1af004161d6b13ee33becc18b5a79db13a805bfe
tree12e3d7a0a1b9c1ba795aa3853bcb17ac19c4fe33
parent800b012debc38f9e7256b2cd4a49df09cd0701cd
Bug 34886: Add selenium tests

Tests added to cover different use cases and combinations of circulation rules values for authenticated and unauthenticated users
At the moment, 2 tests are failing, documented on the [DO NOT PUSH] commit.
These 2 failing tests fail for the search results page but pass on the detail page counterpart. Ideally they should match, for consistency sake.
But this may be the use case "details page should be more correct, results page is always an approximation" mentioned by Nick.

More test combinations may be added in the future.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit 3758a8c05e05b14360560a3e351439e2c4c0364c)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/selenium/opac_holds.t [new file with mode: 0644]