Lines 52-58
SKIP: {
Link Here
|
52 |
# Navigate to the Administration area and create an item type |
52 |
# Navigate to the Administration area and create an item type |
53 |
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ) |
53 |
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ) |
54 |
; # Koha administration |
54 |
; # Koha administration |
55 |
$s->click( { href => '/admin/itemtypes.pl', main => 'doc' } ); # Item Types |
55 |
$s->click( { href => '/admin/itemtypes.pl', main_class => 'main container-fluid' } ); # Item Types |
56 |
$s->click( { href => '/admin/itemtypes.pl?op=add_form', main => 'doc3' } ) |
56 |
$s->click( { href => '/admin/itemtypes.pl?op=add_form', main => 'doc3' } ) |
57 |
; # New item type |
57 |
; # New item type |
58 |
$s->fill_form( |
58 |
$s->fill_form( |
Lines 70-76
SKIP: {
Link Here
|
70 |
$driver->get($mainpage); |
70 |
$driver->get($mainpage); |
71 |
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ) |
71 |
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ) |
72 |
; # Koha administration |
72 |
; # Koha administration |
73 |
$s->click( { href => '/admin/smart-rules.pl', main => 'doc' } ) |
73 |
$s->click( { href => '/admin/smart-rules.pl', main_class => 'main container-fluid' } ) |
74 |
; # Circulation and fines rules |
74 |
; # Circulation and fines rules |
75 |
# TODO Create smart navigation here |
75 |
# TODO Create smart navigation here |
76 |
}; |
76 |
}; |
Lines 79-85
SKIP: {
Link Here
|
79 |
$driver->get($mainpage); |
79 |
$driver->get($mainpage); |
80 |
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ) |
80 |
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ) |
81 |
; # Koha administration |
81 |
; # Koha administration |
82 |
$s->click( { href => '/admin/biblio_framework.pl', main => 'doc' } ) |
82 |
$s->click( { href => '/admin/biblio_framework.pl', main_class => 'main container-fluid' } ) |
83 |
; # MARC bibliographic framework |
83 |
; # MARC bibliographic framework |
84 |
$s->click( |
84 |
$s->click( |
85 |
{ href => '/admin/biblio_framework.pl?op=add_form', main => 'doc3' } ) |
85 |
{ href => '/admin/biblio_framework.pl?op=add_form', main => 'doc3' } ) |
Lines 105-111
SKIP: {
Link Here
|
105 |
$driver->get($mainpage); |
105 |
$driver->get($mainpage); |
106 |
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ) |
106 |
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ) |
107 |
; # Koha administration |
107 |
; # Koha administration |
108 |
$s->click( { href => '/admin/branches.pl', main => 'doc' } ) |
108 |
$s->click( { href => '/admin/branches.pl', main_class => 'main container-fluid' } ) |
109 |
; # Libraries and groups |
109 |
; # Libraries and groups |
110 |
$s->click( { href => '/admin/branches.pl?op=add_form', main => 'doc3' } ) |
110 |
$s->click( { href => '/admin/branches.pl?op=add_form', main => 'doc3' } ) |
111 |
; # New library |
111 |
; # New library |
Lines 130-136
SKIP: {
Link Here
|
130 |
$driver->get($mainpage); |
130 |
$driver->get($mainpage); |
131 |
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ); #Koha administration |
131 |
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ); #Koha administration |
132 |
|
132 |
|
133 |
$s->click( { href => '/admin/authorised_values.pl', main => 'doc' } ); #Authorized values |
133 |
$s->click( { href => '/admin/authorised_values.pl', main_class => 'main container-fluid' } ); #Authorized values |
134 |
|
134 |
|
135 |
$s->click( { href => { 'ends-with' => '/admin/authorised_values.pl?op=add_form' }, main => 'doc3' } ); # New category |
135 |
$s->click( { href => { 'ends-with' => '/admin/authorised_values.pl?op=add_form' }, main => 'doc3' } ); # New category |
136 |
$s->fill_form( { category => $av_category } ); |
136 |
$s->fill_form( { category => $av_category } ); |
Lines 166-172
SKIP: {
Link Here
|
166 |
{ # Patron categories |
166 |
{ # Patron categories |
167 |
$driver->get($mainpage); |
167 |
$driver->get($mainpage); |
168 |
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ); # Koha administration |
168 |
$s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ); # Koha administration |
169 |
$s->click( { href => '/admin/categories.pl', main => 'doc' } ); # Patron categories |
169 |
$s->click( { href => '/admin/categories.pl', main_class => 'main container-fluid' } ); # Patron categories |
170 |
$s->click( { href => '/admin/categories.pl?op=add_form', main => 'doc3' } ); # New patron category |
170 |
$s->click( { href => '/admin/categories.pl?op=add_form', main => 'doc3' } ); # New patron category |
171 |
|
171 |
|
172 |
$s->fill_form( { categorycode => $category_code, description => 'Test category', enrolmentperiod => 12, category_type => 'A' } ); |
172 |
$s->fill_form( { categorycode => $category_code, description => 'Test category', enrolmentperiod => 12, category_type => 'A' } ); |