Advertisement
StrongJava

Untitled

Jun 17th, 2022
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.23 KB | None | 0 0
  1. CypressError: `cy.task('dbConnection')` failed with the following error:
  2.  
  3. > Converting circular structure to JSON
  4. --> starting at object with constructor 'Topology'
  5. | property 's' -> object with constructor 'Object'
  6. | property 'sessionPool' -> object with constructor 'ServerSessionPool'
  7. --- property 'topology' closes the circle
  8.  
  9. Because this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `GET /geocodes with geocode ...`
  10. at http://localhost:5000/__cypress/runner/cypress_runner.js:160154:78
  11. From previous event:
  12. at Context.task (http://localhost:5000/__cypress/runner/cypress_runner.js:160136:15)
  13. From Your Spec Code:
  14. at Context.eval (http://localhost:5000/__cypress/tests?p=cypress/support/e2e.ts:124:53)
  15.  
  16. From Node.js Internals:
  17. TypeError: Converting circular structure to JSON
  18. --> starting at object with constructor 'Topology'
  19. | property 's' -> object with constructor 'Object'
  20. | property 'sessionPool' -> object with constructor 'ServerSessionPool'
  21. --- property 'topology' closes the circle
  22. at stringify (<anonymous>)
  23. at writeChannelMessage (node:internal/child_process/serialization:127:20)
  24. at process.target._send (node:internal/child_process:839:17)
  25. at process.target.send (node:internal/child_process:739:19)
  26. at Object.send (/Users/tim/Library/Caches/Cypress/10.1.0/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/util.js:46:25)
  27. at /Users/tim/Library/Caches/Cypress/10.1.0/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/util.js:68:18
  28. at tryCatcher (/Users/tim/Library/Caches/Cypress/10.1.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/util.js:16:23)
  29. at Promise._settlePromiseFromHandler (/Users/tim/Library/Caches/Cypress/10.1.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:547:31)
  30. at Promise._settlePromise (/Users/tim/Library/Caches/Cypress/10.1.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:604:18)
  31. at Promise._settlePromise0 (/Users/tim/Library/Caches/Cypress/10.1.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:649:10)
  32. at Promise._settlePromises (/Users/tim/Library/Caches/Cypress/10.1.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/promise.js:729:18)
  33. at _drainQueueStep (/Users/tim/Library/Caches/Cypress/10.1.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:93:12)
  34. at _drainQueue (/Users/tim/Library/Caches/Cypress/10.1.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:86:9)
  35. at Async._drainQueues (/Users/tim/Library/Caches/Cypress/10.1.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:102:5)
  36. at Immediate.Async.drainQueues [as _onImmediate] (/Users/tim/Library/Caches/Cypress/10.1.0/Cypress.app/Contents/Resources/app/packages/server/node_modules/bluebird/js/release/async.js:15:14)
  37. at processImmediate (node:internal/timers:466:21)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement