Don't use the minimised width(68px) on the new room list #5907
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.
|