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

Flaky Cypress test - right panel behaves correctly #25374

Closed
luixxiul opened this issue May 15, 2023 · 2 comments · Fixed by matrix-org/matrix-react-sdk#10912
Closed

Flaky Cypress test - right panel behaves correctly #25374

luixxiul opened this issue May 15, 2023 · 2 comments · Fixed by matrix-org/matrix-react-sdk#10912
Labels

Comments

@luixxiul
Copy link

luixxiul commented May 15, 2023

Steps to reproduce

  1. Check recent test results, such as this and this

Outcome

What did you expect?

The test should successfully run on Cypress Cloud.

What happened instead?

The test failed on Cypress Cloud.

The following error originated from your application code, not from Cypress. It was caused by an unhandled promise rejection.

  > Cannot read properties of undefined (reading 'getId')

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 TimelinePanel_TimelinePanel.sendReadReceipt (http://localhost:8080/bundles/efe1ac7cf3e920c1732a/element-web-app.js:41687:36) at TimelinePanel_TimelinePanel.sendReadReceipts (http://localhost:8080/bundles/efe1ac7cf3e920c1732a/element-web-app.js:41258:25) at TimelinePanel_TimelinePanel.updateReadReceiptOnUserActivity (http://localhost:8080/bundles/efe1ac7cf3e920c1732a/element-web-app.js:41609:18)

The test successfully runs on local Cypress.

Operating system

No response

Browser information

No response

URL for webapp

No response

Application version

No response

Homeserver

No response

Will you send logs?

No

@kerryarchibald
Copy link
Contributor

Possibly regressed by matrix-org/matrix-react-sdk@4e5687c ?

@luixxiul
Copy link
Author

@weeman1337 could I ask you to check it if you have some time? matrix-org/matrix-react-sdk#10864

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants