Fix Percy tests for ThreadView
on threads.spec.ts
#24883
Labels
A-Testing
Testing, code coverage, etc.
A-Threads
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Major
Severely degrades major functionality or product features, with no satisfactory workaround
T-Defect
Steps to reproduce
The PR matrix-org/matrix-react-sdk#9016 has added Percy tests to detect visual regressions of
EventTile
s insideThreadView
.Initial ThreadView on group layout
andInitial ThreadView on bubble layout
matrix-org/matrix-react-sdk@f60f7a1#diff-44347e35ab8f425bcd830646976351b243602f12674e9e306060b0a17697c65bR112-R116-
ThreadView with reaction and a hidden event on group layout
matrix-org/matrix-react-sdk@f60f7a1#diff-44347e35ab8f425bcd830646976351b243602f12674e9e306060b0a17697c65bR194-R196ThreadView with reaction and a hidden event on bubble layout
matrix-org/matrix-react-sdk@f60f7a1#diff-44347e35ab8f425bcd830646976351b243602f12674e9e306060b0a17697c65bR216-R218ThreadView with redacted messages on group layout
andThreadView with redacted messages on bubble layout
matrix-org/matrix-react-sdk@f60f7a1#diff-44347e35ab8f425bcd830646976351b243602f12674e9e306060b0a17697c65bR246-R252Reply to the location on ThreadView
matrix-org/matrix-react-sdk@f60f7a1#diff-44347e35ab8f425bcd830646976351b243602f12674e9e306060b0a17697c65bR463It turns out they do not really work how they are supposed to.
ThreadView with reaction and a hidden event on bubble layout
Reply to the location on ThreadView
ThreadView with redacted messages on group layout
ThreadView with redacted messages on bubble layout
ThreadView with reaction and a hidden event on group layout
Initial ThreadView on bubble layout
Initial ThreadView on group layout
All of them seem to have taken snapshots of the right panel without their content. They are supposed to take snapshots
ThreadView
includingEventTile
s and a poll.Outcome
What did you expect?
They should take snapshots of contents inside
ThreadView
.What happened instead?
They take snapshots of the
ThreadView
without its content such asEventTile
s, redacted messages placeholder, etc. on modern layout and bubble layout (note that there is not IRC layout onThreadView
).Operating system
No response
Browser information
No response
URL for webapp
No response
Application version
develop branch
Homeserver
No response
Will you send logs?
No
The text was updated successfully, but these errors were encountered: