element-web/test/unit-tests
David Baker 9657d39cd6
Wire up the "Forgot recovery key" button for the "Key storage out of sync" toast (#29138)
* Wire up the "Forgot recovery key" button for the "Key storage out of sync" toast

* Unused import & fix test

* Test 'forgot' variant

* Fix dependencies

* Add more toast tests

* Unused import

* Test initialState in Encryption Tab

* Let's see if github has any more luck running this test than me

* Working playwright test with screenshot

* year

* Convert playwright test to use the bot client

* Disambiguate

Co-authored-by: Florian Duros <florianduros@element.io>

* Add doc & do other part of rename

* Split out into custom hook

* Fix tests

---------

Co-authored-by: Florian Duros <florianduros@element.io>
2025-02-04 17:40:31 +00:00
..
__snapshots__ Fix share button in discovery settings being disabled incorrectly (#29151) 2025-02-03 08:48:02 +00:00
accessibility Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
actions/handlers Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
async-components Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
audio Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
autocomplete Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
components Wire up the "Forgot recovery key" button for the "Key storage out of sync" toast (#29138) 2025-02-04 17:40:31 +00:00
contexts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
customisations Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
dispatcher Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
editor Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
events Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
hooks Apply lint rule @typescript-eslint/no-empty-object-type (#29159) 2025-02-04 13:41:34 +00:00
i18n Prepare for repo merge 2024-10-15 11:35:21 +01:00
images Prepare for repo merge 2024-10-15 11:35:21 +01:00
integrations Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
models Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
modules Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
notifications Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
settings Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
stores Always show back button in the right panel (#29128) 2025-02-02 18:37:12 +00:00
toasts Wire up the "Forgot recovery key" button for the "Key storage out of sync" toast (#29138) 2025-02-04 17:40:31 +00:00
utils Switch OIDC primarily to new /auth_metadata API (#29019) 2025-01-22 13:48:28 +00:00
vector Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
widgets Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
Avatar-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
ContentMessages-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
createRoom-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
DecryptionFailureTracker-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
DeviceListener-test.ts Add toast for recovery keys being out of sync (#28946) 2025-01-16 13:17:18 +00:00
email-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
favicon-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
HtmlUtils-test.tsx Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
Image-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
KeyBindingsManager-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
languageHandler-test.tsx Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
LegacyCallHandler-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
Lifecycle-test.ts Switch OIDC primarily to new /auth_metadata API (#29019) 2025-01-22 13:48:28 +00:00
linkify-matrix-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
Markdown-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
MatrixClientPeg-test.ts Schedule dehydration on reload if the dehydration key is already cached locally (#29021) 2025-01-31 18:29:59 +00:00
MediaDeviceHandler-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
Modal-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
Notifier-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
PosthogAnalytics-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
PreferredRoomVersions-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
README.md fix tests 2018-04-16 00:23:34 +01:00
Reply-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
RoomNotifs-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
Rooms-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
ScalarAuthClient-test.ts Fix share button in discovery settings being disabled incorrectly (#29151) 2025-02-03 08:48:02 +00:00
SdkConfig-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
SecurityManager-test.ts Stop showing a dialog prompting the user to enter an old recovery key (#29143) 2025-01-30 16:27:45 +00:00
SlashCommands-test.tsx Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
SlidingSyncManager-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
submit-rageshake-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
SupportedBrowser-test.ts Update browserslist (#28705) 2025-01-07 14:29:33 +00:00
Terms-test.tsx Fix share button in discovery settings being disabled incorrectly (#29151) 2025-02-03 08:48:02 +00:00
TestSdkContext.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
TextForEvent-test.ts Improve rendering of empty topics in the timeline (#29152) 2025-02-04 12:18:54 +00:00
theme-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
TimezoneHandler-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
Unread-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
UserActivity-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
useTopic-test.tsx Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00
WorkerManager-test.ts Change License: AGPL + Element Commercial (#28856) 2025-01-06 11:18:54 +00:00

Any UTs for vector-web layer components or functionality should go here. This used to contain the UTs for notifications before they got moved to react-sdk.