Skip to content
This repository has been archived by the owner on Oct 22, 2024. It is now read-only.

Playwright test for E2E messages from deleted devices #47

Merged
merged 2 commits into from
Sep 17, 2024

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Sep 17, 2024

Test what happens when we receive a message from a device which has since been deleted.

Hopefully, fixes element-hq/element-meta#2517

Thanks to MSC4147, we now have information on the devices that sent messages,
even when the device has since been deleted. Test that out.
@richvdh richvdh requested a review from a team as a code owner September 17, 2024 12:17
@richvdh richvdh added the T-Task Tasks for the team like planning label Sep 17, 2024
Copy link
Contributor

@andybalaam andybalaam left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - one possibility.

To test the SenderData stuff fully, we would need to check the behaviour when a user who is verified, unverified, or previously-verified sends a message from a verified device.

Is there any user-visible difference in those cases?

@richvdh
Copy link
Member Author

richvdh commented Sep 17, 2024

Is there any user-visible difference in those cases?

There is no difference between "verified" and "unverified" users. I guess I could add some tests around "previously-verified".

@richvdh
Copy link
Member Author

richvdh commented Sep 17, 2024

previously-verified users don't make much difference here either: we don't distinguish (yet) between messages sent from verified, previously-verified, and unverified users.

@richvdh richvdh added this pull request to the merge queue Sep 17, 2024
Merged via the queue into develop with commit 1058af6 Sep 17, 2024
32 checks passed
@richvdh richvdh deleted the rav/senderdata_test branch September 17, 2024 18:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Tasks for the team like planning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Application-level tests for senderdata on megolm sessions
3 participants