element-web/test
David Baker 1aa9860743
Fix the state shown for call in rooms (#10833)
* Fix the state shown for call in rooms

We split out a separate state for 'missed' separate to 'ended' which
caused confusion as the state got set to this when it shouldn't have,
so calls that wouldn't have been shown as missed were.

Remove the csutom call state and just have the missed state as a
variant of the ended state. Re-order the if clauses so they hit the
right ones. Also don't pass the callState variable into renderContent()
which is a class method and so has access to the same info anyway.

* Fix test

* i18n (reorder only)

* Fix test

* Fix types

* Add test for legacy call event tile
2023-05-15 08:37:40 +00:00
..
@types Use server side relations for voice broadcasts (#9534) 2022-11-07 14:19:49 +00:00
__snapshots__ add fallback reply for poll start (#10380) 2023-03-16 21:27:56 +00:00
accessibility Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
actions/handlers Apply prettier formatting 2022-12-12 12:24:14 +01:00
audio Offload some more waveform processing onto a worker (#9223) 2023-04-27 11:02:20 +01:00
autocomplete Support dynamic room predecessor in SpaceProvider (#10348) 2023-03-10 11:01:45 +00:00
components Fix the state shown for call in rooms (#10833) 2023-05-15 08:37:40 +00:00
contexts Add UserProfilesStore, LruCache and cache for user permalink profiles (#10425) 2023-03-27 10:07:43 +02:00
dispatcher Remove flux dependency (#10313) 2023-03-08 14:19:05 +00:00
editor Fix autocomplete not resetting properly on message send (#10741) 2023-04-28 13:31:02 +00:00
events Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
hooks Convert remaining hook tests to RTL (#10166) 2023-02-16 14:13:05 +00:00
i18n Fix languages.json 2017-06-01 21:10:32 +02:00
i18n-test Add ESLint Jest (#10261) 2023-03-01 16:23:35 +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 Fix a crash when a call ends while you're in it (#10681) 2023-04-21 13:54:27 +00:00
modules Fixes user authentication when registering via the module API (#10257) 2023-03-07 16:24:44 +01:00
notifications Apply prettier formatting 2022-12-12 12:24:14 +01:00
settings Conform more of the codebase to strictNullChecks (#10800) 2023-05-10 08:41:55 +01:00
setup Fix some features not being configurable via features (#10276) 2023-03-03 13:31:51 +00:00
stores Fix people space notification badge not updating for new DM invites (#10849) 2023-05-12 10:49:41 +00:00
test-utils Enable pagination for overlay timelines (#10757) 2023-05-12 16:27:41 +00:00
toasts Revert "Implement new toast UI (#10467)" (#10740) 2023-04-28 14:56:26 +00:00
utils Specify lazy loading for avatars (#10866) 2023-05-11 18:29:48 +00:00
voice-broadcast Make more of the codebase conform to strict types (#10859) 2023-05-12 09:49:37 +01:00
Avatar-test.ts Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
ContentMessages-test.ts Implement MSC3952: intentional mentions (#9983) 2023-03-23 11:47:40 +00:00
createRoom-test.ts Element-R: Starting a DMs with a user (#10673) 2023-04-24 14:19:08 +00:00
DecryptionFailureTracker-test.js Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
DeviceListener-test.ts DeviceListener: replace calls to deprecated APIs (#10883) 2023-05-12 15:55:01 +00:00
email-test.ts Factor out basic email check (#10244) 2023-02-28 10:39:35 +01:00
globalSetup.js Apply prettier formatting 2022-12-12 12:24:14 +01:00
HtmlUtils-test.tsx Merge pull request from GHSA-xv83-x443-7rmw 2023-04-25 09:30:32 +01:00
Image-test.ts Step 8.1: Remove skinning setup from all tests 2022-03-28 14:02:31 -06:00
KeyBindingsManager-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
languageHandler-test.ts Make existing and new issue URLs configurable (#10710) 2023-04-26 09:36:00 +00:00
LegacyCallHandler-test.ts Make existing and new issue URLs configurable (#10710) 2023-04-26 09:36:00 +00:00
linkify-matrix-test.ts Update finite automate to match user identifiers as per spec (#10798) 2023-05-09 07:46:19 +00:00
Markdown-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
MatrixClientPeg-test.ts Handle IDB closed event by showing modal with prompt to reload app (#10395 2023-03-31 10:08:45 +01:00
MediaDeviceHandler-test.ts Apply prettier formatting 2022-12-12 12:24:14 +01:00
Notifier-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
PosthogAnalytics-test.ts Make existing and new issue URLs configurable (#10710) 2023-04-26 09:36:00 +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 add fallback reply for poll start (#10380) 2023-03-16 21:27:56 +00:00
RoomNotifs-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
Rooms-test.ts Prevent unnecessary m.direct updates (#9805) 2022-12-21 09:30:08 -07:00
ScalarAuthClient-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
SdkConfig-test.ts Make existing and new issue URLs configurable (#10710) 2023-04-26 09:36:00 +00:00
setupTests.js Kill off enzyme in preference of react testing library (#10255) 2023-03-06 15:17:46 +00:00
SlashCommands-test.tsx Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
SlidingSyncManager-test.ts Fix jest/no-conditional-expect lint and enable it (#10307) 2023-03-07 13:58:10 +00:00
slowReporter.js Apply prettier formatting 2022-12-12 12:24:14 +01:00
Terms-test.tsx Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
TestSdkContext.ts Add voice broadcast playback pip (#9603) 2022-11-24 09:08:41 +01:00
TextForEvent-test.ts Add string for membership event where both displayname & avatar change (#10880) 2023-05-12 11:54:24 +00:00
theme-test.ts Add ESLint Jest (#10261) 2023-03-01 16:23:35 +01:00
Unread-test.ts Add unread fallback logging (#10509) 2023-04-11 07:41:59 +00:00
UserActivity-test.ts Conform more of the code base to strict null checking (#10147) 2023-02-13 17:01:43 +00:00
useTopic-test.tsx Update usages of test utilities preferring RTL (#10203) 2023-02-22 10:52:55 +00:00
WorkerManager-test.ts Offload some more waveform processing onto a worker (#9223) 2023-04-27 11:02:20 +01:00