Bug 18936: Fix selenium/administration_tasks.t
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
7a03815138
commit
86a0a7d80b
1 changed files with 1 additions and 1 deletions
|
@ -82,7 +82,7 @@ SKIP: {
|
||||||
$elt = $driver->find_element('//tr[@id="edit_row"]/td[@class="actions"]/button[@type="submit"]');
|
$elt = $driver->find_element('//tr[@id="edit_row"]/td[@class="actions"]/button[@type="submit"]');
|
||||||
$elt->click();
|
$elt->click();
|
||||||
$elt = $driver->find_elements('//table[@id="default-circulation-rules"]/tbody/tr/td[contains(text(),"'.$itype->description.'")]/following-sibling::td/span[text() = "Unlimited"]');
|
$elt = $driver->find_elements('//table[@id="default-circulation-rules"]/tbody/tr/td[contains(text(),"'.$itype->description.'")]/following-sibling::td/span[text() = "Unlimited"]');
|
||||||
is( @$elt,2,"We have unlimited checkouts");
|
is( @$elt, 4, "We have unlimited checkouts and holds" );
|
||||||
#Clean up
|
#Clean up
|
||||||
Koha::CirculationRules->search( { itemtype => $itype->itemtype } )->delete;
|
Koha::CirculationRules->search( { itemtype => $itype->itemtype } )->delete;
|
||||||
$itype->delete;
|
$itype->delete;
|
||||||
|
|
Loading…
Reference in a new issue