View | Details | Raw Unified | Return to bug 24669
Collapse All | Expand All

(-)a/t/db_dependent/selenium/administration_tasks.t (-2 / +1 lines)
Lines 82-88 SKIP: { Link Here
82
        $elt = $driver->find_element('//tr[@id="edit_row"]/td[@class="actions"]/button[@type="submit"]');
82
        $elt = $driver->find_element('//tr[@id="edit_row"]/td[@class="actions"]/button[@type="submit"]');
83
        $elt->click();
83
        $elt->click();
84
        $elt = $driver->find_elements('//table[@id="default-circulation-rules"]/tbody/tr/td[contains(text(),"'.$itype->description.'")]/following-sibling::td/span[text() = "Unlimited"]');
84
        $elt = $driver->find_elements('//table[@id="default-circulation-rules"]/tbody/tr/td[contains(text(),"'.$itype->description.'")]/following-sibling::td/span[text() = "Unlimited"]');
85
        is( @$elt, 4, "We have unlimited checkouts and holds" );
85
        is( @$elt, 5, "We have unlimited checkouts and holds" );
86
        #Clean up
86
        #Clean up
87
        Koha::CirculationRules->search( { itemtype => $itype->itemtype } )->delete;
87
        Koha::CirculationRules->search( { itemtype => $itype->itemtype } )->delete;
88
        $itype->delete;
88
        $itype->delete;
89
- 

Return to bug 24669