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

(-)a/t/db_dependent/selenium/authentication.t (-2 / +9 lines)
Lines 23-29 Link Here
23
#Note: If you are testing this on kohadevbox with selenium installed in kohadevbox then you need to set the staffClientBaseURL to localhost:8080 and the OPACBaseURL to localhost:80
23
#Note: If you are testing this on kohadevbox with selenium installed in kohadevbox then you need to set the staffClientBaseURL to localhost:8080 and the OPACBaseURL to localhost:80
24
24
25
use Modern::Perl;
25
use Modern::Perl;
26
use Test::More tests => 2;
26
use Test::More tests => 3;
27
27
28
use C4::Context;
28
use C4::Context;
29
use Koha::AuthUtils;
29
use Koha::AuthUtils;
Lines 126-131 SKIP: { Link Here
126
        push @data_to_cleanup, $patron, $patron->category, $patron->library;
126
        push @data_to_cleanup, $patron, $patron->category, $patron->library;
127
    };
127
    };
128
128
129
    subtest 'No JS errors' => sub {
130
        plan tests => 1;
131
        my @logs =
132
          grep { $_->{level} !~ m{^DEBUG|INFO|WARNING$} }
133
          @{$driver->get_log('browser')};
134
        is( scalar(@logs), 0, ) or diag( Data::Dumper::Dumper \@logs);
135
    };
136
129
    $driver->quit();
137
    $driver->quit();
130
};
138
};
131
139
132
- 

Return to bug 22077