diff --git a/t/db_dependent/selenium/update_child_to_adult.t b/t/db_dependent/selenium/update_child_to_adult.t index f821fe6399..5dbdec5b6d 100755 --- a/t/db_dependent/selenium/update_child_to_adult.t +++ b/t/db_dependent/selenium/update_child_to_adult.t @@ -122,6 +122,7 @@ subtest 'Update child to patron' => sub { my $handles = $driver->get_window_handles; $driver->switch_to_window($handles->[1]); $driver->find_element('//input[@id="catcode'.$patron_category_A->categorycode.'"]')->click; + $driver->set_window_size(1024, 768); $s->submit_form; is( $child->get_from_storage->categorycode, $patron_category_A->categorycode, 'The child should now be an adult!' );