Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Add a test to check whether ReadReceiptGroup exists on ThreadView in the bubble layout #10284

Merged
merged 1 commit into from
Mar 6, 2023
Merged

Add a test to check whether ReadReceiptGroup exists on ThreadView in the bubble layout #10284

merged 1 commit into from
Mar 6, 2023

Conversation

luixxiul
Copy link
Contributor

@luixxiul luixxiul commented Mar 4, 2023

For element-hq/element-web#23569 and element-hq/element-web#23326
Follow-up to #9239 (comment):

Once the read receipt code will land on synapse, I will write some e2ee tests on cypress to ensure that read receipts appear on threads, hence why there is not tests in this pull request

This PR adds a test which checks whether ReadReceiptGroup exists on ThreadView in the bubble layout.

After the issue that the read receipt group is hidden on ThreadView in the bubble layout (see: element-hq/element-web#23569 (comment)) is fixed, it should be able to check whether the group is visible. Currently, checking it returns an error because the read receipt overflows the default visible area of ThreadView except on a large viewport.

type: task

Signed-off-by: Suguru Hirahara luixxiul@users.noreply.github.com

Checklist

  • Tests written for new code (and old code if feasible)
  • Linter and other CI checks pass
  • Sign-off given on the changes (see CONTRIBUTING.md)

This change is marked as an internal change (Task), so will not be included in the changelog.

Sorry, something went wrong.

Verified

This commit was signed with the committer’s verified signature.
luixxiul Suguru Hirahara
…the bubble layout

TODO: replace with a test which checks whether ReadReceiptGroup is always visible

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
@luixxiul luixxiul marked this pull request as ready for review March 4, 2023 16:34
@luixxiul luixxiul requested a review from a team as a code owner March 4, 2023 16:34
@luixxiul luixxiul requested review from t3chguy and artcodespace March 4, 2023 16:34
@luixxiul luixxiul closed this Mar 5, 2023
@luixxiul luixxiul reopened this Mar 5, 2023
@github-actions github-actions bot added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label Mar 5, 2023
@t3chguy t3chguy merged commit 4f5a65f into matrix-org:develop Mar 6, 2023
@luixxiul luixxiul deleted the test-threadview-bubble-layout branch March 6, 2023 09:21
@luixxiul
Copy link
Contributor Author

luixxiul commented Mar 6, 2023

@t3chguy Thanks for the quick review!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
T-Task Refactoring, enabling or disabling functionality, other engineering tasks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants