]> 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)
committerJoy Nelson <joy@bywatersolutions.com>
Mon, 11 May 2020 19:14:01 +0000 (19:14 +0000)
commitc5f24c2042df50a8b3ef186c9b652565817a2668
treecbb23247f749fc1714114e3266f6b516bda0a8fd
parent5a2506a849b3848045482987e166da09e2d72d43
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>
Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
t/db_dependent/selenium/administration_tasks.t