Skip to content

Instantly share code, notes, and snippets.

@tomtaylor
Last active July 1, 2020 21:09
Show Gist options
  • Save tomtaylor/b3a262465b8eb258647023f1c8653df3 to your computer and use it in GitHub Desktop.
Save tomtaylor/b3a262465b8eb258647023f1c8653df3 to your computer and use it in GitHub Desktop.
cypress_runner.js:197680 Console was cleared
cypress_runner.js:197677 TypeError: The following error originated from your application code, not from Cypress.
> Cannot read property 'getDescendentByEl' of undefined
When Cypress detects uncaught errors originating from your application it will automatically fail the current test.
This behavior is configurable, and you can choose to turn this off by listening to the `uncaught:exception` event.
at LiveSocket.getViewByEl (webpack://phoenix_live_view/./js/phoenix_live_view.js?./node_modules/babel-loader/lib:908:38)
at eval (webpack://phoenix_live_view/./js/phoenix_live_view.js?./node_modules/babel-loader/lib:882:23)
at maybe (webpack://phoenix_live_view/./js/phoenix_live_view.js?./node_modules/babel-loader/lib:180:16)
at LiveSocket.owner (webpack://phoenix_live_view/./js/phoenix_live_view.js?./node_modules/babel-loader/lib:881:18)
at LiveSocket.withinOwners (webpack://phoenix_live_view/./js/phoenix_live_view.js?./node_modules/babel-loader/lib:894:12)
at eval (webpack://phoenix_live_view/./js/phoenix_live_view.js?./node_modules/babel-loader/lib:1142:21)
at Object.debounce (webpack://phoenix_live_view/./js/phoenix_live_view.js?./node_modules/babel-loader/lib:1586:16)
at LiveSocket.debounce (webpack://phoenix_live_view/./js/phoenix_live_view.js?./node_modules/babel-loader/lib:1364:11)
at eval (webpack://phoenix_live_view/./js/phoenix_live_view.js?./node_modules/babel-loader/lib:1141:19)
From previous event:
at run (http://localhost:4003/__cypress/runner/cypress_runner.js:167273:19)
at $Cy.cy.<computed> [as visit] (http://localhost:4003/__cypress/runner/cypress_runner.js:167725:11)
at Context.runnable.fn (http://localhost:4003/__cypress/runner/cypress_runner.js:167950:21)
at callFn (http://localhost:4003/__cypress/runner/cypress_runner.js:103279:21)
at Test.../driver/node_modules/mocha/lib/runnable.js.Runnable.run (http://localhost:4003/__cypress/runner/cypress_runner.js:103266:7)
at http://localhost:4003/__cypress/runner/cypress_runner.js:173107:28
From previous event:
at Object.onRunnableRun (http://localhost:4003/__cypress/runner/cypress_runner.js:173095:20)
at $Cypress.action (http://localhost:4003/__cypress/runner/cypress_runner.js:163946:61)
at Test.Runnable.run (http://localhost:4003/__cypress/runner/cypress_runner.js:171720:13)
at Runner.../driver/node_modules/mocha/lib/runner.js.Runner.runTest (http://localhost:4003/__cypress/runner/cypress_runner.js:103938:10)
at http://localhost:4003/__cypress/runner/cypress_runner.js:104064:12
at next (http://localhost:4003/__cypress/runner/cypress_runner.js:103847:14)
at http://localhost:4003/__cypress/runner/cypress_runner.js:103857:7
at next (http://localhost:4003/__cypress/runner/cypress_runner.js:103759:14)
at http://localhost:4003/__cypress/runner/cypress_runner.js:103820:7
at next (http://localhost:4003/__cypress/runner/cypress_runner.js:173031:16)
at http://localhost:4003/__cypress/runner/cypress_runner.js:173052:11
From previous event:
at onNext (http://localhost:4003/__cypress/runner/cypress_runner.js:173049:57)
at done (http://localhost:4003/__cypress/runner/cypress_runner.js:103219:5)
at http://localhost:4003/__cypress/runner/cypress_runner.js:103284:11
From previous event:
at callFn (http://localhost:4003/__cypress/runner/cypress_runner.js:103282:14)
at Hook.../driver/node_modules/mocha/lib/runnable.js.Runnable.run (http://localhost:4003/__cypress/runner/cypress_runner.js:103266:7)
at http://localhost:4003/__cypress/runner/cypress_runner.js:173107:28
From previous event:
at Object.onRunnableRun (http://localhost:4003/__cypress/runner/cypress_runner.js:173095:20)
at $Cypress.action (http://localhost:4003/__cypress/runner/cypress_runner.js:163946:61)
at Hook.Runnable.run (http://localhost:4003/__cypress/runner/cypress_runner.js:171720:13)
at next (http://localhost:4003/__cypress/runner/cypress_runner.js:103781:10)
at http://localhost:4003/__cypress/runner/cypress_runner.js:103825:5
at timeslice (http://localhost:4003/__cypress/runner/cypress_runner.js:97751:27)
logError @ cypress_runner.js:197677
DevTools failed to load SourceMap: Could not load content for http://localhost:4003/__cypress/runner/popper.js.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment