Lines 76-83
subtest 'SCI can load error pages' => sub {
Link Here
|
76 |
my $sci_module = $s->opac_base_url . qq|sci/sci-main.pl|; |
76 |
my $sci_module = $s->opac_base_url . qq|sci/sci-main.pl|; |
77 |
$driver->get($sci_module); |
77 |
$driver->get($sci_module); |
78 |
$s->fill_form( { userid => $patron->userid, password => $password } ); |
78 |
$s->fill_form( { userid => $patron->userid, password => $password } ); |
79 |
$s->submit_form(); |
79 |
$s->driver->find_element('//form[@id="auth"]//input[@type="submit"]')->click; |
80 |
$driver->get($sci_module); |
|
|
81 |
like( $driver->get_title(), qr(Self check-in), ); |
80 |
like( $driver->get_title(), qr(Self check-in), ); |
82 |
|
81 |
|
83 |
C4::Context->set_preference('SelfCheckInUserJS',$sci_js); |
82 |
C4::Context->set_preference('SelfCheckInUserJS',$sci_js); |
84 |
- |
|
|