element-web-Github/test/components/views/elements
Timo 396829e330
Element Call: fix widget shown while its still loading (waitForIframeLoad=false) (#12292)
* show loading spinner also if waitForIframeLoad = false
Configure EC so it waits for the content loaded action
!WARNING This breaks compatibility with the full mesh branch.
I would like to discuss here if/when we can do that.

Signed-off-by: Timo K <toger5@hotmail.de>

* stop show loading screen on widget ready (instead of preparing)

Signed-off-by: Timo K <toger5@hotmail.de>

* wait until widget loading is over before comparing screenshots

Signed-off-by: Timo K <toger5@hotmail.de>

* fix waitForIFrame=true widgets

Signed-off-by: Timo K <toger5@hotmail.de>

* test

Signed-off-by: Timo K <toger5@hotmail.de>

* always start with loading true. + cleanup

Signed-off-by: Timo K <toger5@hotmail.de>

* simplify loading

Signed-off-by: Timo K <toger5@hotmail.de>

* update snapshots (start not in loading state for waitForIframe = true widgets)

Signed-off-by: Timo K <toger5@hotmail.de>

---------

Signed-off-by: Timo K <toger5@hotmail.de>
2024-03-12 16:55:01 +00:00
..
__snapshots__ Element Call: fix widget shown while its still loading (waitForIframeLoad=false) (#12292) 2024-03-12 16:55:01 +00:00
crypto Simplify references to VerificationRequest (#11045) 2023-06-07 14:43:44 +00:00
AccessibleButton-test.tsx Migrate AccessibleButton-test to RTL (#9833) 2022-12-28 10:40:34 +00:00
AppTile-test.tsx Improve randomString mock for better snapshots (#11375) 2023-08-09 09:39:48 +01:00
EventListSummary-test.tsx Consolidate conjugation i18n strings (#11660) 2023-09-25 12:18:15 +01:00
ExternalLink-test.tsx Update usages of test utilities preferring RTL (#10203) 2023-02-22 10:52:55 +00:00
FacePile-test.tsx Update dependency @vector-im/compound-web to v2 (#12133) 2024-01-11 19:56:36 +00:00
Field-test.tsx Improved a11y for Field feedback and Secure Phrase input (#10320) 2023-03-08 11:32:50 +00:00
FilterDropdown-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
FilterTabGroup-test.tsx Poll history - filter by active or ended (#10098) 2023-02-13 09:19:45 +13:00
InfoTooltip-test.tsx Update dependency @vector-im/compound-web to v2 (#12133) 2024-01-11 19:56:36 +00:00
InteractiveTooltip-test.ts Step 8.1: Remove skinning setup from all tests 2022-03-28 14:02:31 -06:00
LabelledCheckbox-test.tsx Allow creating public knock rooms (#11481) 2023-09-04 16:09:44 +00:00
LearnMore-test.tsx Conform more code to strict null checking (#10169) 2023-02-16 09:38:44 +00:00
Pill-test.tsx Update dependency @vector-im/compound-web to v2 (#12133) 2024-01-11 19:56:36 +00:00
PollCreateDialog-test.tsx Consume more imports from matrix-js-sdk/src/matrix (#11449) 2023-08-23 09:04:25 +00:00
PowerSelector-test.tsx Reset power selector on API failure to prevent state mismatch (#12319) 2024-03-08 11:58:36 +00:00
ProgressBar-test.tsx Apply prettier formatting 2022-12-12 12:24:14 +01:00
QRCode-test.tsx Replace getQRCodeBytes with generateQRCode (#11241) 2023-07-13 13:55:55 +00:00
ReplyChain-test.tsx Remove tests of non-spec-compliant behaviour (#10248) 2023-02-27 18:50:15 +00:00
RoomFacePile-test.tsx Update dependency @vector-im/compound-web to v2 (#12133) 2024-01-11 19:56:36 +00:00
RoomTopic-test.tsx Switch to importing models/Room from main js-sdk export (#11361) 2023-08-04 07:36:16 +00:00
SpellCheckLanguagesDropdown-test.tsx Use Intl for names of languages (#11427) 2023-08-22 14:07:16 +00:00
StyledRadioGroup-test.tsx Conform more code to strict null checking (#10153) 2023-02-15 13:36:22 +00:00
SyntaxHighlight-test.tsx Fix error when viewing source of redacted events (#9914) 2023-01-15 16:22:59 +00:00
TooltipTarget-test.tsx Replace react-dom tests with react testing-library tests (#10260) 2023-03-01 15:59:27 +00:00