Skip to content

Don't use the minimised width(68px) on the new room list #5907

Don't use the minimised width(68px) on the new room list

Don't use the minimised width(68px) on the new room list #5907

Triggered via pull request May 7, 2025 14:30
Status Failure
Total duration 6m 23s
Artifacts

tests.yml

on: pull_request
Matrix: Jest
jest-tests
3s
jest-tests
Fit to window
Zoom out
Zoom in

Annotations

8 errors
<RoomListSearch /> › should display search and explore buttons: test/unit-tests/components/views/rooms/RoomListPanel/RoomListSearch-test.tsx#L43
expect(received).toMatchSnapshot() Snapshot name: `<RoomListSearch /> should display search and explore buttons 1` - Snapshot - 2 + Received + 2 @@ -25,15 +25,15 @@ </svg> <span class="mx_Flex" style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: start; --mx-flex-justify: space-between; --mx-flex-gap: 0; --mx-flex-wrap: nowrap;" > - <div + <span class="mx_RoomListSearch_search_text" > Search - </div> + </span> <kbd> Ctrl K </kbd> </span> </button> at Object.toMatchSnapshot (test/unit-tests/components/views/rooms/RoomListPanel/RoomListSearch-test.tsx:43:30)
<RoomListSearch /> › should hide the explore button when the active space is not MetaSpace.Home: test/unit-tests/components/views/rooms/RoomListPanel/RoomListSearch-test.tsx#L52
expect(received).toMatchSnapshot() Snapshot name: `<RoomListSearch /> should hide the explore button when the active space is not MetaSpace.Home 1` - Snapshot - 2 + Received + 2 @@ -25,15 +25,15 @@ </svg> <span class="mx_Flex" style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: start; --mx-flex-justify: space-between; --mx-flex-gap: 0; --mx-flex-wrap: nowrap;" > - <div + <span class="mx_RoomListSearch_search_text" > Search - </div> + </span> <kbd> Ctrl K </kbd> </span> </button> at Object.toMatchSnapshot (test/unit-tests/components/views/rooms/RoomListPanel/RoomListSearch-test.tsx:52:30)
<RoomListSearch /> › should hide the explore button when UIComponent.ExploreRooms is disabled: test/unit-tests/components/views/rooms/RoomListPanel/RoomListSearch-test.tsx#L62
expect(received).toMatchSnapshot() Snapshot name: `<RoomListSearch /> should hide the explore button when UIComponent.ExploreRooms is disabled 1` - Snapshot - 2 + Received + 2 @@ -25,15 +25,15 @@ </svg> <span class="mx_Flex" style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: start; --mx-flex-justify: space-between; --mx-flex-gap: 0; --mx-flex-wrap: nowrap;" > - <div + <span class="mx_RoomListSearch_search_text" > Search - </div> + </span> <kbd> Ctrl K </kbd> </span> </button> at Object.toMatchSnapshot (test/unit-tests/components/views/rooms/RoomListPanel/RoomListSearch-test.tsx:62:30)
<RoomListSearch /> › should display the dial button when the PTSN protocol is not supported: test/unit-tests/components/views/rooms/RoomListPanel/RoomListSearch-test.tsx#L71
expect(received).toMatchSnapshot() Snapshot name: `<RoomListSearch /> should display the dial button when the PTSN protocol is not supported 1` - Snapshot - 2 + Received + 2 @@ -25,15 +25,15 @@ </svg> <span class="mx_Flex" style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: start; --mx-flex-justify: space-between; --mx-flex-gap: 0; --mx-flex-wrap: nowrap;" > - <div + <span class="mx_RoomListSearch_search_text" > Search - </div> + </span> <kbd> Ctrl K </kbd> </span> </button> at Object.toMatchSnapshot (test/unit-tests/components/views/rooms/RoomListPanel/RoomListSearch-test.tsx:71:30)
Jest (1)
Process completed with exit code 1.
<RoomListPanel /> › should render the RoomListSearch component when UIComponent.FilterContainer is at true: test/unit-tests/components/views/rooms/RoomListPanel/RoomListPanel-test.tsx#L33
expect(received).toMatchSnapshot() Snapshot name: `<RoomListPanel /> should render the RoomListSearch component when UIComponent.FilterContainer is at true 1` - Snapshot - 2 + Received + 2 @@ -30,15 +30,15 @@ </svg> <span class="mx_Flex" style="--mx-flex-display: flex; --mx-flex-direction: row; --mx-flex-align: start; --mx-flex-justify: space-between; --mx-flex-gap: 0; --mx-flex-wrap: nowrap;" > - <div + <span class="mx_RoomListSearch_search_text" > Search - </div> + </span> <kbd> Ctrl K </kbd> </span> </button> at Object.toMatchSnapshot (test/unit-tests/components/views/rooms/RoomListPanel/RoomListPanel-test.tsx:33:30)
Jest (2)
Process completed with exit code 1.
jest-tests
Process completed with exit code 1.