From d7f5a41056fbc0dc95f189b7f27b459a2dde7cf6 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 19 Feb 2020 15:02:11 +0100 Subject: [PATCH] Bug 24669: Fix selenium test There is one more "Unlimited" on the circ rules now. --- t/db_dependent/selenium/administration_tasks.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/selenium/administration_tasks.t b/t/db_dependent/selenium/administration_tasks.t index bb887d55ea..241f1393b9 100644 --- a/t/db_dependent/selenium/administration_tasks.t +++ b/t/db_dependent/selenium/administration_tasks.t @@ -82,7 +82,7 @@ SKIP: { $elt = $driver->find_element('//tr[@id="edit_row"]/td[@class="actions"]/button[@type="submit"]'); $elt->click(); $elt = $driver->find_elements('//table[@id="default-circulation-rules"]/tbody/tr/td[contains(text(),"'.$itype->description.'")]/following-sibling::td/span[text() = "Unlimited"]'); - is( @$elt, 4, "We have unlimited checkouts and holds" ); + is( @$elt, 5, "We have unlimited checkouts and holds" ); #Clean up Koha::CirculationRules->search( { itemtype => $itype->itemtype } )->delete; $itype->delete; -- 2.11.0