]> git.koha-community.org Git - koha.git/commit
Bug 24801: Display all the categories - Selenium fix
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 4 Mar 2020 14:53:12 +0000 (15:53 +0100)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 4 Mar 2020 14:56:19 +0000 (14:56 +0000)
commitc16476af444bc529dbc6500978c63969de4d2b9c
tree28babd9ce6df4cddefd80827e9d91706bf848160
parentc0f3c9f29ad3b5de3efea95da515ab64a4bbd268
Bug 24801: Display all the categories - Selenium fix

To make sure we are going to be able to click on the "Delete" button of
our newly created category PATRON_CAT, we are displaying them all.

Test plan:
Create several patron categories that will fill the first page:

use t::lib::TestBuilder;
my $builder = t::lib::TestBuilder->new;
for my $i ( 1..20 ) {
    $builder->build_object({ class => 'Koha::Patron::Categories', value => { description => "cat_$i" } });
}

Execute the selenium tests.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/selenium/administration_tasks.t