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

Pinned message list: prevent sender name to overflow pinned event tile #28483

Pinned message list: prevent sender name to overflow pinned event tile

Pinned message list: prevent sender name to overflow pinned event tile #28483

Triggered via pull request September 3, 2024 09:13
Status Failure
Total duration 4m 59s
Artifacts

tests.yml

on: pull_request
Matrix: Jest
Element Web Integration Tests
1m 57s
Element Web Integration Tests
Skip SonarCloud in merge queue
0s
Skip SonarCloud in merge queue
Fit to window
Zoom out
Zoom in

Annotations

6 errors
<PinnedMessagesCard /> › should show two pinned messages: test/components/views/right_panel/PinnedMessagesCard-test.tsx#L205
expect(received).toMatchSnapshot() Snapshot name: `<PinnedMessagesCard /> should show two pinned messages 1` - Snapshot - 2 + Received + 2 @@ -68,11 +68,11 @@ > <div class="mx_PinnedEventTile_top" > <span - class="_typography_yh5dq_162 _font-body-md-semibold_yh5dq_64 mx_PinnedEventTile_sender mx_Username_color3" + class="mx_PinnedEventTile_sender mx_Username_color3" > @alice:example.org </span> <button aria-disabled="false" @@ -134,11 +134,11 @@ > <div class="mx_PinnedEventTile_top" > <span - class="_typography_yh5dq_162 _font-body-md-semibold_yh5dq_64 mx_PinnedEventTile_sender mx_Username_color3" + class="mx_PinnedEventTile_sender mx_Username_color3" > @alice:example.org </span> <button aria-disabled="false" at Object.toMatchSnapshot (test/components/views/right_panel/PinnedMessagesCard-test.tsx:205:30)
<PinnedMessagesCard /> › unpin all › should not allow to unpinall: test/components/views/right_panel/PinnedMessagesCard-test.tsx#L315
expect(received).toMatchSnapshot() Snapshot name: `<PinnedMessagesCard /> unpin all should not allow to unpinall 1` - Snapshot - 2 + Received + 2 @@ -68,11 +68,11 @@ > <div class="mx_PinnedEventTile_top" > <span - class="_typography_yh5dq_162 _font-body-md-semibold_yh5dq_64 mx_PinnedEventTile_sender mx_Username_color3" + class="mx_PinnedEventTile_sender mx_Username_color3" > @alice:example.org </span> <button aria-disabled="false" @@ -134,11 +134,11 @@ > <div class="mx_PinnedEventTile_top" > <span - class="_typography_yh5dq_162 _font-body-md-semibold_yh5dq_64 mx_PinnedEventTile_sender mx_Username_color3" + class="mx_PinnedEventTile_sender mx_Username_color3" > @alice:example.org </span> <button aria-disabled="false" at Object.toMatchSnapshot (test/components/views/right_panel/PinnedMessagesCard-test.tsx:315:34)
Jest (2)
Process completed with exit code 1.
<PinnedEventTile /> › should render pinned event: test/components/views/rooms/PinnedEventTile-test.tsx#L97
expect(received).toMatchSnapshot() Snapshot name: `<PinnedEventTile /> should render pinned event 1` - Snapshot - 1 + Received + 1 @@ -20,11 +20,11 @@ > <div class="mx_PinnedEventTile_top" > <span - class="_typography_yh5dq_162 _font-body-md-semibold_yh5dq_64 mx_PinnedEventTile_sender mx_Username_color2" + class="mx_PinnedEventTile_sender mx_Username_color2" > @alice:server.org </span> <button aria-disabled="false" at Object.toMatchSnapshot (test/components/views/rooms/PinnedEventTile-test.tsx:97:27)
<PinnedEventTile /> › should render pinned event with thread info: test/components/views/rooms/PinnedEventTile-test.tsx#L119
expect(received).toMatchSnapshot() Snapshot name: `<PinnedEventTile /> should render pinned event with thread info 1` - Snapshot - 1 + Received + 1 @@ -20,11 +20,11 @@ > <div class="mx_PinnedEventTile_top" > <span - class="_typography_yh5dq_162 _font-body-md-semibold_yh5dq_64 mx_PinnedEventTile_sender mx_Username_color2" + class="mx_PinnedEventTile_sender mx_Username_color2" > @alice:server.org </span> <button aria-disabled="false" at Object.toMatchSnapshot (test/components/views/rooms/PinnedEventTile-test.tsx:119:27)
Jest (1)
Process completed with exit code 1.