Lines 38-44
use Time::HiRes qw(gettimeofday);
Link Here
|
38 |
use C4::Context; |
38 |
use C4::Context; |
39 |
use C4::Biblio qw( AddBiblio ); # We shouldn't use it |
39 |
use C4::Biblio qw( AddBiblio ); # We shouldn't use it |
40 |
|
40 |
|
41 |
use Test::More tests => 20; |
41 |
use Test::More; |
42 |
use MARC::Record; |
42 |
use MARC::Record; |
43 |
use MARC::Field; |
43 |
use MARC::Field; |
44 |
use Try::Tiny; |
44 |
use Try::Tiny; |
Lines 90-96
SKIP: {
Link Here
|
90 |
try { |
90 |
try { |
91 |
$s = t::lib::Selenium->new; |
91 |
$s = t::lib::Selenium->new; |
92 |
} catch { |
92 |
} catch { |
93 |
skip "Unable to create selenium driver link. Please review https://wiki.koha-community.org/wiki/Using_Selenium_with_Koha", 20; |
93 |
diag "\nUnable to create selenium driver link. Please review https://wiki.koha-community.org/wiki/Using_Selenium_with_Koha"; |
|
|
94 |
fail; |
95 |
done_testing(); |
96 |
exit 0; |
94 |
}; |
97 |
}; |
95 |
|
98 |
|
96 |
open my $fh, '>>', '/tmp/output.txt'; |
99 |
open my $fh, '>>', '/tmp/output.txt'; |
Lines 204-209
SKIP: {
Link Here
|
204 |
$driver->quit(); |
207 |
$driver->quit(); |
205 |
}; |
208 |
}; |
206 |
|
209 |
|
|
|
210 |
done_testing(); |
211 |
|
207 |
END { |
212 |
END { |
208 |
cleanup() if $cleanup_needed; |
213 |
cleanup() if $cleanup_needed; |
209 |
}; |
214 |
}; |
210 |
- |
|
|