Lines 127-132
SKIP: {
Link Here
|
127 |
$s->submit_form; |
127 |
$s->submit_form; |
128 |
|
128 |
|
129 |
# Select "Show all" in the datatable "Show x entries" dropdown list to make sure our library is not hidden |
129 |
# Select "Show all" in the datatable "Show x entries" dropdown list to make sure our library is not hidden |
|
|
130 |
$driver->find_element_by_css("[href*='$branchcode']"); # ensure page is loaded |
130 |
$s->show_all_entries('//div[@id="libraries_wrapper"]'); |
131 |
$s->show_all_entries('//div[@id="libraries_wrapper"]'); |
131 |
$s->click( |
132 |
$s->click( |
132 |
{ |
133 |
{ |
Lines 138-143
SKIP: {
Link Here
|
138 |
$s->submit_form; |
139 |
$s->submit_form; |
139 |
|
140 |
|
140 |
# Select "Show all" in the datatable "Show x entries" dropdown list to make sure our library is not hidden |
141 |
# Select "Show all" in the datatable "Show x entries" dropdown list to make sure our library is not hidden |
|
|
142 |
$driver->find_element_by_css("#delete_library_".$branchcode); # ensure page is loaded |
141 |
$s->show_all_entries('//div[@id="libraries_wrapper"]'); |
143 |
$s->show_all_entries('//div[@id="libraries_wrapper"]'); |
142 |
$s->click( |
144 |
$s->click( |
143 |
{ |
145 |
{ |
Lines 185-190
SKIP: {
Link Here
|
185 |
|
187 |
|
186 |
{ # Patron categories |
188 |
{ # Patron categories |
187 |
$driver->get($mainpage); |
189 |
$driver->get($mainpage); |
|
|
190 |
$driver->get($mainpage); # HACK: outrageous but every few dozen runs, it just won't go to the main page. |
188 |
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ); # Koha administration |
191 |
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ); # Koha administration |
189 |
$s->click( { href => '/admin/categories.pl', main_class => 'main container-fluid' } ); # Patron categories |
192 |
$s->click( { href => '/admin/categories.pl', main_class => 'main container-fluid' } ); # Patron categories |
190 |
$s->click( { href => '/admin/categories.pl?op=add_form', main_class => 'main container-fluid' } ); # New patron category |
193 |
$s->click( { href => '/admin/categories.pl?op=add_form', main_class => 'main container-fluid' } ); # New patron category |
191 |
- |
|
|