element-web/test
Robin 62a740d318
Fix call splitbrains when switching between rooms (#9692)
* Fix call splitbrains when switching between rooms

Mounting CallView causes the user's call membership room state to be cleaned up. However, because the GroupCall object always thought the local device was disconnected from the call, it would remove the local device from room state when the clean method is called, causing a splitbrain. This uses GroupCall's new enteredViaAnotherSession field to fix that, and also simplify participant tracking.

* Remove clean tests that have been moved to matrix-js-sdk
2022-12-02 09:35:31 +01:00
..
@types Use server side relations for voice broadcasts (#9534) 2022-11-07 14:19:49 +00:00
__snapshots__ Enable tsc alwaysStrict, strictBindCallApply, noImplicitThis (#9600) 2022-11-21 11:24:59 +00:00
accessibility Convert some Enzyme tests to RTL (#9163) 2022-08-11 00:00:53 +00:00
actions/handlers Device manager - promote to beta (#9380) 2022-10-11 11:10:55 +02:00
audio Optimise Jest run in CI (#9542) 2022-11-04 10:48:08 +00:00
autocomplete Use "frequently used emojis" for autocompletion in composer (#8998) 2022-07-21 15:27:11 +02:00
components Fix power selector being wrongly disabled for admins themselves (#9681) 2022-12-01 09:49:46 +00:00
contexts Add voice broadcast pre-recoding PiP (#9548) 2022-11-10 09:38:48 +01:00
editor Optimise Jest run in CI (#9542) 2022-11-04 10:48:08 +00:00
events Use server side relations for voice broadcasts (#9534) 2022-11-07 14:19:49 +00:00
hooks Use react-testing-library instead of enzyme for useDebouncedCallback 2022-11-17 12:01:31 +01:00
i18n Fix languages.json 2017-06-01 21:10:32 +02:00
i18n-test Migrate KeyboardShortcut tests from Enzyme to RTL (#9405) 2022-10-13 14:32:45 +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 call splitbrains when switching between rooms (#9692) 2022-12-02 09:35:31 +01:00
modules Convert some tests from Enzyme to RTL (#9483) 2022-10-24 09:06:20 +01: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 Typescript updates (#9658) 2022-11-30 11:32:56 +00:00
stores Remove unused Element Call capabilities (#9653) 2022-11-30 13:54:18 +00:00
test-utils Fix call splitbrains when switching between rooms (#9692) 2022-12-02 09:35:31 +01:00
toasts Use native js-sdk group call support (#9625) 2022-11-28 16:37:32 -05:00
utils Update voice broadcast time display (#9646) 2022-11-30 08:47:29 +01:00
voice-broadcast Typescript updates (#9658) 2022-11-30 11:32:56 +00:00
Avatar-test.ts Ensure spaces in the spotlight dialog have rounded square avatars (#9480) 2022-10-24 08:58:36 +00:00
ContentMessages-test.ts Typescript updates (#9658) 2022-11-30 11:32:56 +00:00
createRoom-test.ts Use native js-sdk group call support (#9625) 2022-11-28 16:37:32 -05:00
DecryptionFailureTracker-test.js Fix all megolm error reported as unknown (#8916) 2022-06-30 08:55:05 +01:00
DeviceListener-test.ts Add config setting to disable bulk unverified sessions nag (#9657) 2022-12-02 03:24:45 +00:00
globalSetup.js Eslint - require copyright header rule (#8514) 2022-05-06 09:09:28 +00:00
HtmlUtils-test.tsx Optimise Jest run in CI (#9542) 2022-11-04 10:48:08 +00: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
LegacyCallHandler-test.ts Add more debugging for why audio ring/ringback might not be playing (#9642) 2022-12-01 04:08:09 +00:00
linkify-matrix-test.ts Delete groups (legacy communities system) (#8027) 2022-03-22 23:07:37 +00:00
Markdown-test.ts Fix links being mangled by markdown processing (#9570) 2022-11-14 10:52:42 +01:00
MatrixClientPeg-test.ts Use doMaybeLocalRoomAction (#9038) 2022-07-13 07:56:36 +02:00
MediaDeviceHandler-test.ts Advanced audio processing settings (#8759) 2022-11-09 20:14:55 +00:00
Notifier-test.ts bugfix: fix an issue where the Notifier would incorrectly fire for non-timeline events (#9664) 2022-12-01 12:21:56 +00:00
PosthogAnalytics-test.ts Send layout analytics as WebLayout (#9482) 2022-11-04 09:10:37 +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 Pass a client into RoomNotifs.getRoomNotifsState (#9631) 2022-11-29 10:55:15 +00:00
ScalarAuthClient-test.ts Move from browser-request to fetch (#9345) 2022-10-12 18:59:07 +01:00
SdkConfig-test.ts Show time left for voice broadcast recordings (#9564) 2022-11-10 10:53:49 +00:00
setupTests.js Move from browser-request to fetch (#9345) 2022-10-12 18:59:07 +01:00
SlashCommands-test.tsx Enable tsc alwaysStrict, strictBindCallApply, noImplicitThis (#9600) 2022-11-21 11:24:59 +00:00
SlidingSyncManager-test.ts sliding sync: add lazy-loading member support (#9530) 2022-11-18 19:05:00 +00:00
slowReporter.js Add slow jest reporter (#9599) 2022-11-24 14:53:32 +01:00
Terms-test.tsx Test typescriptification - Terms/ScalarAuthClient (#8480) 2022-05-03 15:09:07 +00:00
TestSdkContext.ts Add voice broadcast playback pip (#9603) 2022-11-24 09:08:41 +01:00
TextForEvent-test.ts Add notifications and toasts for Element Call calls (#9337) 2022-10-06 14:27:12 +00:00
theme-test.ts Test querySelectorAll call 2022-09-28 15:25:32 +02:00
Unread-test.ts Remove deprecated m.room.aliases references (#9431) 2022-10-17 10:58:46 +01:00
UserActivity-test.ts Typescriptification - notification utils (#8209) 2022-04-01 08:45:50 +02:00
useTopic-test.tsx Migrate useTopic test to RTL (#9580) 2022-11-15 14:00:02 +01:00