element-web-Github/test/components/views/rooms
Robin 0e0be08781
Remove "Add Space" button from RoomListHeader when user cannot create spaces (#9129)
* Remove Add Space button in RoomListHeader when user cannot createSpaces

* Reuse the same booleans as SpaceContextMenu

* Code review fixes

* Fix test for standard case

* Refactor tests and add more

* Test the PlusMenu, where the bug originally was

* Add tests for plus menu

* Refactor tests

* add type in functions and use DMRoomMap#setShared

* use of wrapInMatrixClientContext

* Trigger CI

* Ignore enzyme deprecation in RoomListHeader-test.tsx

Co-authored-by: Estelle Comment <estelle.comment@gmail.com>
Co-authored-by: mcalinghee <mcalinghee.dev@gmail.com>
Co-authored-by: Michael Weimann <michaelw@matrix.org>
2022-08-03 15:19:24 +00:00
..
__snapshots__ Update more strings to not wrongly mention room when it is/could be a space (#7722) 2022-03-29 15:02:12 +01:00
BasicMessageComposer-test.tsx Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
MemberList-test.tsx Replace deprecated String#substr with String#slice (#8314) 2022-04-14 07:52:42 +00:00
MessageComposer-test.tsx Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
MessageComposerButtons-test.tsx Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
NewRoomIntro-test.tsx Prepare room components for local rooms (#9082) 2022-07-20 15:07:06 +02:00
ReadReceiptGroup-test.tsx Eslint - require copyright header rule (#8514) 2022-05-06 09:09:28 +00:00
RoomHeader-test.tsx Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
RoomList-test.tsx test typescriptification - RoomList (#8540) 2022-05-09 13:24:12 +00:00
RoomListHeader-test.tsx Remove "Add Space" button from RoomListHeader when user cannot create spaces (#9129) 2022-08-03 15:19:24 +00:00
RoomPreviewBar-test.tsx Merge branch 'develop' into travis/remove-skinning 2022-03-31 19:25:43 -06:00
RoomTile-test.tsx Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
SearchBar-test.tsx Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
SearchResultTile-test.tsx Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
SendMessageComposer-test.tsx Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
VoiceRecordComposerTile-test.tsx Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00