Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

end-to-end tests broken trying to read stack of undefined #21386

Closed
turt2live opened this issue Mar 10, 2022 · 0 comments · Fixed by matrix-org/matrix-react-sdk#8028
Closed
Assignees
Labels
T-Task Tasks for the team like planning

Comments

@turt2live
Copy link
Member

firstly, what are we throwing that isn't an error and secondly, here's the logs:

(node:942) UnhandledPromiseRejectionWarning: Error: Evaluation failed: TypeError: Cannot read properties of null (reading 'stack')
    at __puppeteer_evaluation_script__:2:34
    at ExecutionContext._evaluateInternal (/__w/matrix-react-sdk/matrix-react-sdk/test/end-to-end-tests/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:221:19)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:95:5)
    at async ExecutionContext.evaluate (/__w/matrix-react-sdk/matrix-react-sdk/test/end-to-end-tests/node_modules/puppeteer/lib/cjs/puppeteer/common/ExecutionContext.js:110:16)
    at async JSHandle.evaluate (/__w/matrix-react-sdk/matrix-react-sdk/test/end-to-end-tests/node_modules/puppeteer/lib/cjs/puppeteer/common/JSHandle.js:103:16)
(node:942) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 10)

Almost certainly related to matrix-org/matrix-react-sdk#7959

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Task Tasks for the team like planning
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants