https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40046

--- Comment #4 from Jonathan Druart <jonathan.dru...@gmail.com> ---
(In reply to Pedro Amorim from comment #3)
> This is causing tests to fail for me. Consistently.
> Using UI:
> 
> assertexpected <select#matcher> to have value '3', but the value was ''
> AssertionError
> Timed out retrying after 10000ms: expected '<select#matcher>' to have value
> '3', but the value was ''
> 
> Using yarn cypress run --spec
> t/cypress/integration/Tools/ManageMarcImport_spec.ts:
> 
>   1) loads the manage MARC import page
>        upload a MARC record:
>      AssertionError: Timed out retrying after 10000ms: Expected to find
> content: 'View batch' but never did.
>       at Context.eval
> (webpack://koha/./t/cypress/integration/Tools/ManageMarcImport_spec.ts:76:11)
> 
> 
> Both UI and CLI pass if I revert the patch.

I think it is not related to this patch.

It's not consistent for me.
After a bit of debug I see that we hit
C4/ImportBatch.pm
 374         if ( scalar( $marc_record->fields() ) == 0 ) {                     
 375             push @invalid_records, $marc_record; 
 376         } else { 

$marc_record is
        _fields     [],                                                         
        _leader     "         a              ",                                 
        _warnings   [                                                           
            [0] "Record length \"<?xml\" is not numeric in record 1"            
        ]

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
Koha-bugs@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to