element-web/test
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__ Location (live) share replies now provide a fallback content (#8949) 2022-07-01 08:01:22 +02:00
accessibility Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
audio Step 8.1: Remove skinning setup from all tests 2022-03-28 14:02:31 -06:00
autocomplete Use "frequently used emojis" for autocompletion in composer (#8998) 2022-07-21 15:27:11 +02:00
components Remove "Add Space" button from RoomListHeader when user cannot create spaces (#9129) 2022-08-03 15:19:24 +00:00
editor Add support for MD / HTML in room topics (#8215) 2022-06-07 14:20:32 -06:00
events Live location share - open latest location in map site (#8981) 2022-07-04 16:05:55 +02:00
hooks Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
i18n Fix languages.json 2017-06-01 21:10:32 +02:00
i18n-test Fall back to untranslated string rather than showing missing translation error (#8609) 2022-05-16 13:28:24 +01:00
images Add support for Animated (A)PNG (#8158) 2022-03-28 09:38:54 +01:00
img Fix a load of warnings in the tests 2016-10-11 14:20:40 +01:00
models Add LocalRoom (#9023) 2022-07-11 07:33:37 +02:00
modules Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
notifications Typescriptification - notification utils (#8209) 2022-04-01 08:45:50 +02:00
settings Fix crash when drawing blurHash for portrait videos PSB-139 (#8855) 2022-06-17 11:03:29 +00:00
setup Step 8.2: Fix wiring of jest test setup to avoid import cycle issues 2022-03-28 14:02:31 -06:00
stores Wire local room logic (#9078) 2022-07-20 09:26:25 +02:00
test-utils Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
utils Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
.eslintrc.js Eslint - require copyright header rule (#8514) 2022-05-06 09:09:28 +00:00
Avatar-test.ts Wire local room logic (#9078) 2022-07-20 09:26:25 +02:00
CallHandler-test.ts Exclude functional members from DM detection (#9124) 2022-08-01 19:28:33 +02:00
ContentMessages-test.ts Use doMaybeLocalRoomAction (#9038) 2022-07-13 07:56:36 +02:00
createRoom-test.ts Hide screenshare button in video rooms on Desktop (#9045) 2022-07-12 08:23:35 -04:00
DecryptionFailureTracker-test.js Fix all megolm error reported as unknown (#8916) 2022-06-30 08:55:05 +01:00
DeviceListener-test.ts Step 8.1: Remove skinning setup from all tests 2022-03-28 14:02:31 -06:00
globalSetup.js Eslint - require copyright header rule (#8514) 2022-05-06 09:09:28 +00:00
HtmlUtils-test.tsx Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
Image-test.ts Step 8.1: Remove skinning setup from all tests 2022-03-28 14:02:31 -06:00
KeyBindingsManager-test.ts Work towards unifying KeyboardShortcuts and KeyBindingsDefaults #2 (#7674) 2022-01-31 15:55:45 +00:00
languageHandler-test.ts Add support for overriding strings in the app (#7886) 2022-03-01 11:53:09 -07:00
linkify-matrix-test.ts Delete groups (legacy communities system) (#8027) 2022-03-22 23:07:37 +00:00
Markdown-test.ts Fix formatting not being applied after links (#7990) 2022-03-08 13:12:36 +00:00
MatrixClientPeg-test.ts Use doMaybeLocalRoomAction (#9038) 2022-07-13 07:56:36 +02:00
PosthogAnalytics-test.ts Replace deprecated String#substr with String#slice (#8314) 2022-04-14 07:52:42 +00:00
PreferredRoomVersions-test.ts Replace MSC3244 support with in-client room version checking (#9018) 2022-07-08 00:32:38 -06:00
Reply-test.ts Location (live) share replies now provide a fallback content (#8949) 2022-07-01 08:01:22 +02:00
RoomNotifs-test.ts Fix js-sdk types (#8588) 2022-05-13 19:13:21 +00:00
ScalarAuthClient-test.ts Test typescriptification - Terms/ScalarAuthClient (#8480) 2022-05-03 15:09:07 +00:00
setupTests.js Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00
SlashCommands-test.tsx Add support for MD / HTML in room topics (#8215) 2022-06-07 14:20:32 -06:00
Terms-test.tsx Test typescriptification - Terms/ScalarAuthClient (#8480) 2022-05-03 15:09:07 +00:00
TextForEvent-test.ts Eslint - require copyright header rule (#8514) 2022-05-06 09:09:28 +00:00
Unread-test.ts dont trigger unread counts for beacon location events (#9071) 2022-07-18 14:23:24 +00:00
UserActivity-test.ts Typescriptification - notification utils (#8209) 2022-04-01 08:45:50 +02:00
useTopic-test.tsx Update matrix-org/react (enzyme deprecation) (#9116) 2022-08-02 15:10:43 +02:00