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

(-)a/t/db_dependent/selenium/administration_tasks.t (-6 / +5 lines)
Lines 181-194 SKIP: { Link Here
181
            }
181
            }
182
        );
182
        );
183
        $s->driver->accept_alert; # Accept the modal "Are you sure you want to delete this authorized value?"
183
        $s->driver->accept_alert; # Accept the modal "Are you sure you want to delete this authorized value?"
184
185
        # For an unknown reason the click on the next admin-home link does not work
186
        # We were still on the authorised value list view.
187
        # A workaround (and dirty fix) is to wait for 1 second and see if it fixes the problem
188
        sleep 1;
184
    };
189
    };
185
190
186
    { # Patron categories
191
    { # Patron categories
187
        # For an unknown reason the click on the admin-home link does not work
188
        # At this point we were still on the authorised value list view.
189
        # A workaround (and dirty fix) is to logout/login and see if it fixes the problem
190
        $driver->get( $mainpage . q|?logout.x=1| );
191
        $s->auth;
192
        $driver->get($mainpage);
192
        $driver->get($mainpage);
193
        $s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ); # Koha administration
193
        $s->click( { href => '/admin/admin-home.pl', main => 'container-main' } ); # Koha administration
194
        $s->click( { href => '/admin/categories.pl', main_class => 'main container-fluid' } ); # Patron categories
194
        $s->click( { href => '/admin/categories.pl', main_class => 'main container-fluid' } ); # Patron categories
195
- 

Return to bug 29485