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

Playwright: Enable & fix skipped tests in new-messages.spec.ts #12013

Merged
merged 3 commits into from
Dec 8, 2023

Conversation

florianduros
Copy link
Contributor

@florianduros florianduros commented Dec 7, 2023

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)

Part of element-hq/element-web#25449
Closes element-hq/element-web#26679 element-hq/element-web#26676

  1. I removed Me sending a message from a different client marks room as read because as the comment explains, the test is bad written. Instead of keeping a skipped incorrect test, I choose to delete it
  2. About Reading a thread root within the thread view marks it as read in the main timeline, the current behavior in the test is to displayed the thread root at the middle of the timeline when we want to open it. So I updated the test to match this behavior. (We want to test unread, not the thread position when opened)

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

@florianduros florianduros added the T-Task Refactoring, enabling or disabling functionality, other engineering tasks label Dec 7, 2023
Copy link
Member

@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.

Great, thanks!

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
2 participants