31 Oct
2023
31 Oct
'23
12:13 p.m.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=34448 --- Comment #16 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- 386 // Submit the form, get 500 387 cy.intercept("POST", "/api/v1/erm/agreements", { 388 statusCode: 500, 389 error: "Something went wrong", 390 }); 391 cy.get("#agreements_add").contains("Submit").click(); 392 cy.get("main div[class='dialog alert']").contains( 393 "Something went wrong: SyntaxError: Unexpected end of JSON input" 394 ); This is totally wrong. We are now showing a JS error instead of the expected 500: internal server error! -- You are receiving this mail because: You are watching all bug changes.