element-web/test/components/structures
Travis Ralston d25d529e86
Extract functions for service worker usage, and add initial MSC3916 playwright test (when supported) (#12414)
* Send user credentials to service worker for MSC3916 authentication

* appease linter

* Add initial test

The test fails, seemingly because the service worker isn't being installed or because the network mock can't reach that far.

* Remove unsafe access token code

* Split out base IDB operations to avoid importing `document` in serviceworkers

* Use safe crypto access for service workers

* Fix tests/unsafe access

* Remove backwards compatibility layer & appease linter

* Add docs

* Fix tests

* Appease the linter

* Iterate tests

* Factor out pickle key handling for service workers

* Enable everything we can about service workers

* Appease the linter

* Add docs

* Rename win32 image to linux in hopes of it just working

* Use actual image

* Apply suggestions from code review

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>

* Improve documentation

* Document `??` not working

* Try to appease the tests

* Add some notes

---------

Co-authored-by: Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
2024-05-02 22:19:55 +00:00
..
__snapshots__ Tooltip: Use `AccessibleButton` in `RovingAccessibleTooltipButton` (#12458) 2024-04-30 09:35:58 +00:00
auth Fix typing issues 2024-04-15 16:06:01 +02:00
AutocompleteInput-test.tsx
ContextMenu-test.ts
LargeLoader-test.tsx
LeftPanel-test.tsx
LegacyCallEventGrouper-test.ts
LoggedInView-test.tsx New context for local device verification (#12417) 2024-04-16 09:43:27 +00:00
MainSplit-test.tsx
MatrixChat-test.tsx Extract functions for service worker usage, and add initial MSC3916 playwright test (when supported) (#12414) 2024-05-02 22:19:55 +00:00
MatrixClientContextProvider-test.tsx New context for local device verification (#12417) 2024-04-16 09:43:27 +00:00
MessagePanel-test.tsx Use new compound tooltip 2024-04-12 14:56:23 +02:00
PictureInPictureDragger-test.tsx
PipContainer-test.tsx
ReleaseAnnouncement-test.tsx
RightPanel-test.tsx Use new compound tooltip 2024-04-12 14:56:23 +02:00
RoomSearchView-test.tsx
RoomStatusBar-test.tsx
RoomStatusBarUnsentMessages-test.tsx
RoomView-test.tsx Use new compound tooltip 2024-04-12 14:56:23 +02:00
SpaceHierarchy-test.tsx Use new compound tooltip 2024-04-12 14:56:23 +02:00
TabbedView-test.tsx
ThreadPanel-test.tsx Use new compound tooltip 2024-04-12 14:56:23 +02:00
ThreadView-test.tsx Fix flaky jest tests (#12486) 2024-05-02 14:53:35 +00:00
TimelinePanel-test.tsx Use new compound tooltip 2024-04-12 14:56:23 +02:00
UploadBar-test.tsx
UserMenu-test.tsx
ViewSource-test.tsx