Koha-clms/t/db_dependent/selenium
Jonathan Druart 319d6f88cd
Bug 40444: Add a test to ensure all Perl test files use Test::NoWarnings
This patch adds a new xt test (xt/use-test-no-warnings.t) to make sure
all our Perl test files will use Test::NoWarnings.

It also adds Test::NoWarnings to some files that were missing it and
that didn't need any other changes.

However we still have 7 non-trivial tests that we will consider
exception for now, until they are fixed.

Test plan:
  prove xt/use-test-no-warnings.t
should return green.
And all other tests modified by this patch (the qa script will do that
for you)

You can also test the 2 selenium tests:
1. DROP and CREATE the DB
  DROP DATABASE koha_kohadev;
  CREATE DATABASE koha_kohadev;
  restart_all
2. KOHA_TESTING=1 prove t/db_dependent/selenium/00-onboarding.t
3. Repeat 1
2. KOHA_TESTING=1 prove t/db_dependent/selenium/01-installation.t

Signed-off-by: Martin Renvoize <martin.renvoize@openfifth.co.uk>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 63eb2e1f4a)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
2025-09-16 14:02:25 +02:00
..
00-onboarding.t Bug 40444: Add a test to ensure all Perl test files use Test::NoWarnings 2025-09-16 14:02:25 +02:00
01-installation.t Bug 40444: Add a test to ensure all Perl test files use Test::NoWarnings 2025-09-16 14:02:25 +02:00
administration_tasks.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
authentication.t Bug 39237: (follow-up) Fix selenium tests 2025-05-09 16:52:58 +02:00
authentication_2fa.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
basic_workflow.t Bug 40406: Remove warnings from selenium/basic_workflow.t 2025-07-24 10:23:39 +02:00
batch_item_modification.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
ilsdi.t Bug 38944: Add Test::NoWarnings to tests no producing warnings 2025-03-13 17:25:03 +01:00
opac_holds.t Bug 39237: (follow-up) Fix selenium tests 2025-05-09 16:52:58 +02:00
opac_ill_requests.t Bug 40444: Add a test to ensure all Perl test files use Test::NoWarnings 2025-09-16 14:02:25 +02:00
patrons_search.t Bug 39011: (follow-up) Update selenium tests 2025-05-09 16:52:59 +02:00
regressions.t Bug 40316: Remove warnings from selenium/regressions.t 2025-07-10 22:47:37 +02:00
remove_from_cart.t Bug 38944: Manual changes 2025-03-13 17:25:04 +01:00
self_registration.t Bug 38944: Manual changes 2025-03-13 17:25:04 +01:00
system_preferences_search.t Bug 38944: Manual changes 2025-03-13 17:25:04 +01:00
update_child_to_adult.t Bug 39323: Fix selenium/update_child_to_adult.t 2025-04-29 17:19:34 +02:00