`polls/polls.spec.ts` → „displays polls correctly in thread panel“ failing
See original GitHub issueSteps to reproduce
Logs:
M_INVALID_PARAM
The following error originated from your application code, not from Cypress. It was caused by an unhandled promise rejection.
> event_id $TylyWHJ9CdnaeQGibCRZKwG9ClkEoL63ZG4XTjS5iQU is not related to thread $0dX0Jz71z_UbtRRgrzObk0tRl6djOFMNgpNUfU1yH40
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.
https://on.cypress.io/uncaught-exception-from-application
at parseErrorResponse (http://localhost:8080/bundles/cc8b528ed0970d448730/init.js:59888:13) at http://localhost:8080/bundles/cc8b528ed0970d448730/init.js:59838:17 at Object.callback (http://localhost:8080/bundles/cc8b528ed0970d448730/init.js:59762:9) at on_end (http://localhost:8080/bundles/cc8b528ed0970d448730/vendors~element-web-app.js:294:13) at XMLHttpRequest.on_state_change (http://localhost:8080/bundles/cc8b528ed0970d448730/vendors~element-web-app.js:244:7) at XMLHttpRequest.<anonymous> (http://localhost:8080/bundles/cc8b528ed0970d448730/vendors~init.js:203360:41) at XMLHttpRequest.eval (eval at makeContentWindowListener (http://localhost:8080/__cypress/runner/cypress_runner.js:171203:10), <anonymous>:4:29)
Screenshot
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:7 (7 by maintainers)
Top Results From Across the Web
fix(components): [cascader-panel] fix type error - element-plus ...
element-web `polls/polls.spec.ts` → „displays polls correctly in thread panel“ failing 3 open 🗓️ 1 day ago. element-plus fix(components): ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Confirmed fixed by https://github.com/matrix-org/matrix-react-sdk/commit/13e9e14eaaa87bbc5b277327728cbefbd0c4d5e8 passing
Synapse returns a
400
with an errcodeM_INVALID_PARAM
because the timeline code is trying to send a read receipt with a thread id param for a poll answer to the thread root.If you traverse the relations of that poll answer it will lead you to the thread root that does not hold a
m.thread
relation, therefore the read receipt endpoint will fail.We have two ways of solving this issue, either adding another codepath client side to prevent sending RR with thread id for relations to the thread root in a thread timeline (poll answers, annotation to the thread root, …) or we make the API endpoint more flexible and accept that as an incoming request.