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

(-)a/t/db_dependent/selenium/administration_tasks.t (-1 / +3 lines)
Lines 47-53 SKIP: { Link Here
47
    try {
47
    try {
48
        $s        = t::lib::Selenium->new;
48
        $s        = t::lib::Selenium->new;
49
    } catch {
49
    } catch {
50
        skip "Unable to create selenium driver link. Please review https://wiki.koha-community.org/wiki/Using_Selenium_with_Koha", 1;
50
        diag "\nUnable to create selenium driver link. Please review https://wiki.koha-community.org/wiki/Using_Selenium_with_Koha";
51
        fail;
52
        exit 0;
51
    };
53
    };
52
54
53
    my $driver   = $s->driver;
55
    my $driver   = $s->driver;
(-)a/t/db_dependent/selenium/basic_workflow.t (-3 / +7 lines)
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
- 

Return to bug 20505