CypressError: `cy.task('query')` failed with the following error:
> Duplicate entry '578' for key 'itemnumber'
https://on.cypress.io/api/task
Because this error occurred during a `before each` hook we are skipping the remaining tests in the current suite: `in en`
at <unknown> (http://kohadev.mydnsname.org:8080/__cypress/runner/cypress_runner.js:135374:70)
at tryCatcher (http://kohadev.mydnsname.org:8080/__cypress/runner/cypress_runner.js:1807:23)
at Promise._settlePromiseFromHandler (http://kohadev.mydnsname.org:8080/__cypress/runner/cypress_runner.js:1519:31)
at Promise._settlePromise (http://kohadev.mydnsname.org:8080/__cypress/runner/cypress_runner.js:1576:18)
at Promise._settlePromise0 (http://kohadev.mydnsname.org:8080/__cypress/runner/cypress_runner.js:1621:10)
at Promise._settlePromises (http://kohadev.mydnsname.org:8080/__cypress/runner/cypress_runner.js:1697:18)
at _drainQueueStep (http://kohadev.mydnsname.org:8080/__cypress/runner/cypress_runner.js:2407:12)
at _drainQueue (http://kohadev.mydnsname.org:8080/__cypress/runner/cypress_runner.js:2400:9)
at Async._drainQueues (http://kohadev.mydnsname.org:8080/__cypress/runner/cypress_runner.js:2416:5)
at Async.drainQueues (http://kohadev.mydnsname.org:8080/__cypress/runner/cypress_runner.js:2286:14)
From Your Spec Code:
at Context.query (webpack://koha/./node_modules/cypress-mysql/dist/index.js:69:0)
From Node.js Internals:
Error: Duplicate entry '578' for key 'itemnumber'
at PromiseConnection.query (/e2e/node_modules/mysql2/promise.js:94:22)
at <unknown> (/e2e/node_modules/cypress-mysql/dist/index.js:75:33)
at processTicksAndRejections (node:internal/process/task_queues:95:5)