riot-web/test
SuperKenVery e288f61f0a
Prevent Element appearing in system media controls (#10995)
* Use WebAudio API to play notification sound

So that it won't appear in system media control.

* Run prettier

* Chosse from mp3 and ogg

* Run prettier

* Use WebAudioAPI everywhere

There's still one remoteAudio. I'm not sure what it does. It seems it's
only used in tests...

* Run prettier

* Eliminate a stupid error

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Update setupManualMocks.ts

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* delint

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* mocks

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* mocks

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Iterate

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* Simplify

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

* covg

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>

---------

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
Co-authored-by: Michael Telatynski <7t3chguy@gmail.com>
2024-07-04 18:08:06 +00:00
..
@types
__snapshots__ Don't consider textual characters to be emoji (#12582) 2024-07-04 17:48:07 +00:00
accessibility Fix roving tab index crash `compareDocumentPosition` (#12594) 2024-06-11 09:11:52 +00:00
actions/handlers
audio Stop using deprecated methods, fields & exports (#12524) 2024-05-15 14:58:28 +00:00
autocomplete
components Remove references to some deprecated js-sdk identifiers (#12729) 2024-07-04 15:50:07 +00:00
contexts New user profile UI in User Settings (#12548) 2024-06-06 13:56:38 +00:00
dispatcher
editor Use `*` for italics as it doesn't break when used mid-word (#12523) 2024-05-15 09:01:45 +00:00
events
hooks Show tooltips on narrow tabbed views (#12624) 2024-06-14 14:17:46 +00:00
i18n Use Intl for names of languages (#11427) 2023-08-22 14:07:16 +00:00
images
img
models Fix external guest access url for unencrypted rooms (#12345) 2024-03-28 12:25:00 +00:00
modules Replace `SecurityCustomisations` with `CryptoSetupExtension` (#12342) 2024-04-12 15:15:17 +00:00
notifications
settings Fix config override of other settings levels (#12593) 2024-06-14 11:00:30 +00:00
setup Prevent Element appearing in system media controls (#10995) 2024-07-04 18:08:06 +00:00
stores Replace setImmediate with setTimeout (#12614) 2024-06-13 15:15:59 +01:00
test-utils Disable profile controls if the HS doesn't allow them to be set (#12652) 2024-07-02 10:04:07 +00:00
toasts Fix widgets not being cleaned up correctly. (#12616) 2024-06-17 11:00:41 +00:00
utils Switch to Rust crypto stack for all logins (#12630) 2024-06-24 09:14:42 +00:00
voice-broadcast Prevent Element appearing in system media controls (#10995) 2024-07-04 18:08:06 +00:00
widgets
Avatar-test.ts
ContentMessages-test.ts Avoid using deprecated exports & methods from matrix-js-sdk (#12359) 2024-03-25 12:21:02 +00:00
DecryptionFailureTracker-test.ts Add flag for tests to avoid double-reporting check (#12569) 2024-06-06 13:02:34 +00:00
DeviceListener-test.ts Remove references to some deprecated js-sdk identifiers (#12729) 2024-07-04 15:50:07 +00:00
HtmlUtils-test.tsx Don't consider textual characters to be emoji (#12582) 2024-07-04 17:48:07 +00:00
Image-test.ts
KeyBindingsManager-test.ts
LegacyCallHandler-test.ts Prevent Element appearing in system media controls (#10995) 2024-07-04 18:08:06 +00:00
Lifecycle-test.ts Element-R: pass pickleKey in as raw key for indexeddb encryption (#12543) 2024-06-05 08:52:28 +00:00
Markdown-test.ts
MatrixClientPeg-test.ts Switch to Rust crypto stack for all logins (#12630) 2024-06-24 09:14:42 +00:00
MediaDeviceHandler-test.ts
Notifier-test.ts Prevent Element appearing in system media controls (#10995) 2024-07-04 18:08:06 +00:00
PosthogAnalytics-test.ts Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
PreferredRoomVersions-test.ts
Reply-test.ts Avoid using deprecated exports & methods from matrix-js-sdk (#12359) 2024-03-25 12:21:02 +00:00
RoomNotifs-test.ts Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
Rooms-test.ts
ScalarAuthClient-test.ts
SdkConfig-test.ts
SecurityManager-test.ts Set up key backup using non-deprecated APIs (2nd take) (#12098) 2024-01-10 10:34:03 +00:00
SlashCommands-test.tsx Adept KnownMembership imports for new location in types 2024-03-18 14:43:08 +00:00
SlidingSyncManager-test.ts Fix well-known lookup for sliding sync labs check (#12519) 2024-05-14 12:40:10 +00:00
Terms-test.tsx
TestSdkContext.ts
TextForEvent-test.ts Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
Unread-test.ts Avoid using deprecated exports & methods from matrix-js-sdk (#12359) 2024-03-25 12:21:02 +00:00
UserActivity-test.ts
WorkerManager-test.ts Load web workers in a way that Webpack 5 can bundle them 2023-11-11 16:03:08 +01:00
createRoom-test.ts Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
email-test.ts
globalSetup.ts Improve randomString mock for better snapshots (#11375) 2023-08-09 09:39:48 +01:00
languageHandler-test.tsx Migrate more strings to translation keys (#11694) 2023-10-03 19:17:26 +01:00
linkify-matrix-test.ts
predictableRandom.ts
setupTests.ts Fix flaky jest tests (#12486) 2024-05-02 14:53:35 +00:00
slowReporter.js
submit-rageshake-test.ts Avoid using deprecated exports, fields, and duplicate code (#12555) 2024-05-28 08:41:20 +01:00
theme-test.ts Enable custom themes to theme Compound (#12240) 2024-02-13 14:07:58 +00:00
useTopic-test.tsx