Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CypressError: `cy.task('dbConnection')` failed with the following error:
- > Converting circular structure to JSON
- --> starting at object with constructor 'Topology'
- | property 's' -> object with constructor 'Object'
- | property 'sessionPool' -> object with constructor 'ServerSessionPool'
- --- property 'topology' closes the circle
- Because this error occurred during a `before all` hook we are skipping the remaining tests in the current suite: `GET /geocodes with geocode ...`
- at http://localhost:5000/__cypress/runner/cypress_runner.js:160154:78
- From previous event:
- at Context.task (http://localhost:5000/__cypress/runner/cypress_runner.js:160136:15)
- From Your Spec Code:
- at Context.eval (http://localhost:5000/__cypress/tests?p=cypress/support/e2e.ts:124:53)
- From Node.js Internals:
- TypeError: Converting circular structure to JSON
- --> starting at object with constructor 'Topology'
- | property 's' -> object with constructor 'Object'
- | property 'sessionPool' -> object with constructor 'ServerSessionPool'
- --- property 'topology' closes the circle
- at stringify (<anonymous>)
- at writeChannelMessage (node:internal/child_process/serialization:127:20)
- at process.target._send (node:internal/child_process:839:17)
- at process.target.send (node:internal/child_process:739:19)
- at Object.send (/Users/tim/Library/Caches/Cypress/10.1.0/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/util.js:46:25)
- at /Users/tim/Library/Caches/Cypress/10.1.0/Cypress.app/Contents/Resources/app/packages/server/lib/plugins/util.js:68:18
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- 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)
- at processImmediate (node:internal/timers:466:21)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement