Koha/t/db_dependent/selenium
Jonathan Druart 9c9dddeaa4 Bug 26250: Fix tests when SearchEngine=Elastic
Most of the time the tests are failing because the item is not created
correctly (missing biblio and/or biblioitem).
The usual error is:
 t/db_dependent/selenium/regressions.t ..... 5/5 Can't call method "leader" on an undefined value at /kohadevbox/koha/Koha/SearchEngine/Elasticsearch.pm line 534.

In this patch we are making sure $builder->build({ source => 'Item' })
is replace with $builder->build_sample_item

Test plan:
Turn on Elastic and confirm that all the tests pass!

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-08-31 16:10:26 +02:00
..
administration_tasks.t Bug 26162: Wait for the table to be refreshed 2020-08-10 12:31:44 +02:00
authentication.t Bug 26015: Replace 2 missing occurrences 2020-08-31 16:10:25 +02:00
basic_workflow.t Bug 23463: Fix selenium tests (highlight a bug in date management) 2020-03-23 12:23:16 +00:00
patrons_search.t
regressions.t Bug 26250: Fix tests when SearchEngine=Elastic 2020-08-31 16:10:26 +02:00
update_child_to_adult.t