https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27826 Lucas Gass (lukeg) <lucas@bywatersolutions.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lucas@bywatersolutions.com --- Comment #10 from Lucas Gass (lukeg) <lucas@bywatersolutions.com> --- (In reply to Jonathan Druart from comment #8)
(In reply to Jonathan Druart from comment #7)
Created attachment 197894 [details] [review] [review] Bug 27826: Add a Cypress test
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
There is something not correct in this test, but it is passing for me like that. Look at the FIXME. Feel free to drop it if needed.
It fails for me: SCO 1) "before each" hook for "Should not crash if barcode contains '+'" 0 passing (3s) 1 failing 1) SCO "before each" hook for "Should not crash if barcode contains '+'": CypressError: `cy.task('query')` failed with the following error:
Duplicate entry '+42+' for key 'itembarcodeidx'
Because it is leaving sample data in the DB. After I run: MariaDB [koha_kohadev]> SELECT count(*) FROM items WHERE barcode = '+42+'; +----------+ | count(*) | +----------+ | 1 | +----------+ -- You are receiving this mail because: You are watching all bug changes.