Koha/t/db_dependent/selenium
Jonathan Druart 54a1c5433b Bug 19185: Fix regressions.t
The following test is failing:
| #   Failed test 'OPAC - Remove from cart'
| #   at t/db_dependent/selenium/regressions.t line 132.
| Can't call method "get_value" on an undefined value at t/db_dependent/selenium/regressions.t line 110.
| # Looks like your test exited with 2 just after 3.
| [12:14:08] t/db_dependent/selenium/regressions.t

We are dependind on the search engine and the records in the DB but the
installer is not inserting any records.

This patch is suggesting to reuse the code from search_utf8
(and so make it reusable first) for remove_from_cart test.
This code is mocking the Zebra index with some MARC data and so the
search will return results. We will finally be able to click on the
add to/remove from cart links.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-10-26 16:46:02 +02:00
..
00-onboarding.t Bug 19185: Add missing +x on new test files 2021-10-25 13:09:34 +02:00
01-installation.t Bug 19185: Add missing +x on new test files 2021-10-25 13:09:34 +02:00
administration_tasks.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
authentication.t Bug 26384: Fix executable flags 2020-09-11 09:56:56 +02:00
basic_workflow.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
patrons_search.t Bug 26703: Fix selenium tests 2021-04-21 15:25:07 +02:00
regressions.t Bug 19185: Fix regressions.t 2021-10-26 16:46:02 +02:00
remove_from_cart.t Bug 19185: Fix regressions.t 2021-10-26 16:46:02 +02:00
self_registration.t Bug 28929: Add selenium tests 2021-09-30 09:18:57 +02:00
update_child_to_adult.t Bug 27055: Fix compatibility with newer Firefox+Selenium version 2020-12-30 12:04:49 -03:00