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

--- Comment #62 from Lucas Gass (lukeg) <[email protected]> ---
cypress run --spec t/cypress/integration/t/insertData.ts

DevTools listening on
ws://127.0.0.1:41949/devtools/browser/7e46bec0-7e2d-40be-ab3a-121cf470919d
[145570:0521/154157.932684:ERROR:gpu_memory_buffer_support_x11.cc(44)] dri3
extension not supported.
Missing baseUrl in compilerOptions. tsconfig-paths will be skipped

====================================================================================================

  (Run Starting)

 
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Cypress:        12.17.4                                                    
                   │
  │ Browser:        Electron 106 (headless)                                    
                   │
  │ Node Version:   v20.20.1 (/usr/bin/node)                                   
                   │
  │ Specs:          1 found (insertData.ts)                                    
                   │
  │ Searched:       t/cypress/integration/t/insertData.ts                      
                   │
  │ Experiments:    experimentalStudio=true                                    
                   │
 
└────────────────────────────────────────────────────────────────────────────────────────────────┘


────────────────────────────────────────────────────────────────────────────────────────────────────

  Running:  insertData.ts                                                      
            (1 of 1)


  insertData
    deleteSampleObjects
      ✓ should delete everything from Object (689ms)
      ✓ should delete everything from Array (430ms)
    insertSampleBiblio
      ✓ should generate library and item type (579ms)
      ✓ insertSampleBiblio - options.different_libraries (569ms)
    insertSampleHold
Error: Properties not allowed: iso18626_request.
    at /kohadevbox/koha/t/cypress/plugins/dist/api-client.cjs.js:307:55
    at processTicksAndRejections (node:internal/process/task_queues:95:5)
      1) insertSampleHold - item/biblio
      2) "after each" hook for "insertSampleHold - item/biblio"


  4 passing (4s)
  2 failing

  1) insertData
       insertSampleHold
         insertSampleHold - item/biblio:
     CypressError: `cy.task('insertSampleHold')` failed with the following
error:

> Error: Properties not allowed: iso18626_request.

https://on.cypress.io/api/task
      at <unknown>
(http://koha:8081/__cypress/runner/cypress_runner.js:134597:70)
      at tryCatcher
(http://koha:8081/__cypress/runner/cypress_runner.js:1807:23)
      at Promise._settlePromiseFromHandler
(http://koha:8081/__cypress/runner/cypress_runner.js:1519:31)
      at Promise._settlePromise
(http://koha:8081/__cypress/runner/cypress_runner.js:1576:18)
      at Promise._settlePromise0
(http://koha:8081/__cypress/runner/cypress_runner.js:1621:10)
      at Promise._settlePromises
(http://koha:8081/__cypress/runner/cypress_runner.js:1697:18)
      at _drainQueueStep
(http://koha:8081/__cypress/runner/cypress_runner.js:2407:12)
      at _drainQueue
(http://koha:8081/__cypress/runner/cypress_runner.js:2400:9)
      at Async._drainQueues
(http://koha:8081/__cypress/runner/cypress_runner.js:2416:5)
      at Async.drainQueues
(http://koha:8081/__cypress/runner/cypress_runner.js:2286:14)
  From Your Spec Code:
      at Context.eval
(webpack://koha/./t/cypress/integration/t/insertData.ts:146:23)

  From Node.js Internals:
    Error: Error: Properties not allowed: iso18626_request.
        at HttpClient.<anonymous>
(/kohadevbox/koha/t/cypress/plugins/dist/api-client.cjs.js:323:50)
        at step
(/kohadevbox/koha/t/cypress/plugins/dist/api-client.cjs.js:191:23)
        at Object.<anonymous>
(/kohadevbox/koha/t/cypress/plugins/dist/api-client.cjs.js:132:20)
        at asyncGeneratorStep
(/kohadevbox/koha/t/cypress/plugins/dist/api-client.cjs.js:11:28)
        at _next
(/kohadevbox/koha/t/cypress/plugins/dist/api-client.cjs.js:29:17)
        at processTicksAndRejections (node:internal/process/task_queues:95:5)

  2) insertData
       insertSampleHold
         "after each" hook for "insertSampleHold - item/biblio":

      Row count for borrowers should match
      + expected - actual

      -54
      +53

      at Context.eval
(webpack://koha/./t/cypress/integration/t/insertData.ts:268:29)




  (Results)

 
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ Tests:        8                                                            
                   │
  │ Passing:      4                                                            
                   │
  │ Failing:      1                                                            
                   │
  │ Pending:      0                                                            
                   │
  │ Skipped:      3                                                            
                   │
  │ Screenshots:  2                                                            
                   │
  │ Video:        true                                                         
                   │
  │ Duration:     3 seconds                                                    
                   │
  │ Spec Ran:     insertData.ts                                                
                   │
 
└────────────────────────────────────────────────────────────────────────────────────────────────┘


  (Screenshots)

  -  /kohadevbox/koha/t/cypress/screenshots/insertData.ts/insertData --
insertSampleH     (1280x720)
     old -- insertSampleHold - itembiblio (failed).png                          
  -  /kohadevbox/koha/t/cypress/screenshots/insertData.ts/insertData --
insertSampleH     (1280x720)
     old - itembiblio -- after each hook (failed).png                           


  (Video)

  -  Started compressing: Compressing to 32 CRF                                 
  -  Finished compressing: 0 seconds                                            

  -  Video output: /kohadevbox/koha/t/cypress/videos/insertData.ts.mp4


====================================================================================================

  (Run Finished)


       Spec                                              Tests  Passing 
Failing  Pending  Skipped  
 
┌────────────────────────────────────────────────────────────────────────────────────────────────┐
  │ ✖  insertData.ts                            00:03        8        4       
1        -        3 │
 
└────────────────────────────────────────────────────────────────────────────────────────────────┘
    ✖  1 of 1 failed (100%)                     00:0

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list
[email protected]
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