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

(-)a/t/db_dependent/selenium/administration_tasks.t (-6 / +5 lines)
Lines 132-144 SKIP: { Link Here
132
132
133
        $s->click( { href => '/admin/authorised_values.pl', main => 'doc' } ); #Authorized values
133
        $s->click( { href => '/admin/authorised_values.pl', main => 'doc' } ); #Authorized values
134
134
135
        $s->click( { href => '/cgi-bin/koha/admin/authorised_values.pl?op=add_form&category=Adult', main => 'doc3' } ); # New category
135
        $s->click( { href => '/admin/authorised_values.pl?op=add_form&category=Adult', main => 'doc3' } ); # New category
136
        $s->fill_form( { authorised_value => 'Hardover', lib => 'Hardcover book'} );
136
        $s->fill_form( { authorised_value => 'Hardover', lib => 'Hardcover book'} );
137
        $s->submit_form;
137
        $s->submit_form;
138
138
139
        $s->click(
139
        $s->click(
140
            {
140
            {
141
                href => '/cgi-bin/koha/admin/authorised_values.pl?op=delete&searchfield=Adult&id=400',
141
                href => '/admin/authorised_values.pl?op=delete&searchfield=Adult&id=400',
142
                main => 'doc3'
142
                main => 'doc3'
143
            }
143
            }
144
        );
144
        );
Lines 146-160 SKIP: { Link Here
146
146
147
    { #Patron categories
147
    { #Patron categories
148
        $driver->get($mainpage);
148
        $driver->get($mainpage);
149
        $s->click( { href => '/cgi-bin/koha/admin/categories.pl', main => 'doc3' } ); #Koha administration
149
        $s->click( { href => '/admin/categories.pl', main => 'doc3' } ); #Koha administration
150
        $s->click( { href => '/cgi-bin/koha/admin/categories.pl?op=add_form', main => 'doc' } ); #New patron category
150
        $s->click( { href => '/admin/categories.pl?op=add_form', main => 'doc' } ); #New patron category
151
151
152
        $s->fill_form( { categorycode => 'Test', description => 'Test category', enrolmentperiod => 12, category_type => 'Adult' } );
152
        $s->fill_form( { categorycode => 'Test', description => 'Test category', enrolmentperiod => 12, category_type => 'Adult' } );
153
        $s->submit_form;
153
        $s->submit_form;
154
154
155
        $s->click(
155
        $s->click(
156
            {
156
            {
157
                href => '/cgi-bin/koha/admin/categories.pl?op=delete_confirm&categorycode=TEST',
157
                href => '/admin/categories.pl?op=delete_confirm&categorycode=TEST',
158
                main => 'doc3'
158
                main => 'doc3'
159
            }
159
            }
160
        );
160
        );
161
- 

Return to bug 19243