|
Lines 70-79
subtest 'OPAC - borrowernumber and branchcode as html attributes' => sub {
Link Here
|
| 70 |
|
70 |
|
| 71 |
subtest 'OPAC - Remove from cart' => sub { |
71 |
subtest 'OPAC - Remove from cart' => sub { |
| 72 |
plan tests => 4; |
72 |
plan tests => 4; |
| 73 |
|
73 |
|
| 74 |
# We need to prevent scrolling to prevent the floating toolbar from overlapping buttons we are testing |
74 |
# We need to prevent scrolling to prevent the floating toolbar from overlapping buttons we are testing |
| 75 |
my $window_size = $driver->get_window_size(); |
75 |
my $window_size = $driver->get_window_size(); |
| 76 |
$driver->set_window_size(1920,1080); |
76 |
$driver->set_window_size(1920,10800); |
| 77 |
|
77 |
|
| 78 |
$driver->get( $opac_base_url . "opac-search.pl?q=d" ); |
78 |
$driver->get( $opac_base_url . "opac-search.pl?q=d" ); |
| 79 |
|
79 |
|
| 80 |
- |
|
|