| 
      
            Lines 71-76
          subtest 'OPAC - Remove from cart' => sub {
      
      
        Link Here
      
     | 
  
        
          | 71 | 
           | 
          71 | 
           | 
        
        
          | 72 | 
              my $batch_id = $mock_zebra->load_records($file);  | 
          72 | 
              my $batch_id = $mock_zebra->load_records($file);  | 
        
        
          | 73 | 
           | 
          73 | 
           | 
        
            
               | 
               | 
              74 | 
                  my $patron = $builder->build_object(  | 
            
            
              | 75 | 
                      { class => 'Koha::Patrons', value => { flags => 1 } } ); | 
            
            
              | 76 | 
                  my $password = Koha::AuthUtils::generate_password($patron->category);  | 
            
            
              | 77 | 
                  t::lib::Mocks::mock_preference( 'RequireStrongPassword', 0 );  | 
            
            
              | 78 | 
                  $patron->set_password({ password => $password }); | 
            
            
              | 79 | 
               | 
            
            
              | 80 | 
                  $s->opac_auth( $patron->userid, $password );  | 
            
            
              | 81 | 
               | 
            
        
          | 74 | 
              # We need to prevent scrolling to prevent the floating toolbar from overlapping buttons we are testing  | 
          82 | 
              # We need to prevent scrolling to prevent the floating toolbar from overlapping buttons we are testing  | 
        
        
          | 75 | 
              my $window_size = $driver->get_window_size();  | 
          83 | 
              my $window_size = $driver->get_window_size();  | 
        
        
          | 76 | 
              $driver->set_window_size(1920,10800);  | 
          84 | 
              $driver->set_window_size(1920,10800);  | 
        
            
              | 77 | 
              -   | 
               | 
               |