element-web-Github/test/components/views/settings/__snapshots__
David Baker 4751c52d82
Refactor the various email/phone management UI into a single component (#12884)
* Refactor the various email/phone management UI into a single component

These were basically the same component copied & pasted 3 times and
tweaked to match the behaviour of each case. This de-dupes them into
one component.

This all could really benefit from playwright tests, but would require
setting up a dummy ID server in the playwright tests. This is all legacy
pre-MAS stuff so its questionable whether its worth the effort.

* Basic test, remove old tests

* Use different text to confirm remove & put headers back

although the two texts are both 'Remove' in practice

* Remove string

This was never triggered anyway with sydent & synapse because they
don't seem to agree on what error to return. In any case, I think it
makes more sense for it to be consistent with the email path, ie. using
a dialog.

* Avoid nested forms

* Snapshots

* More snapshots

* Test the hs side

* Snapshots

* Test IS bind/revoke

* Test remove can be cancelled

* Test unvalidated cases & fix phone error

* Reset state between tests

* Import useState directly

* One more direct React import
2024-08-14 13:13:57 +00:00
..
AddRemoveThreepids-test.tsx.snap Refactor the various email/phone management UI into a single component (#12884) 2024-08-14 13:13:57 +00:00
ChangePassword-test.tsx.snap Support Matrix 1.1 (drop legacy r0 versions) (#9819) 2023-08-14 09:25:13 +01:00
CrossSigningPanel-test.tsx.snap Use semantic headings in user settings Security (#10774) 2023-05-18 22:32:10 +00:00
EventIndexPanel-test.tsx.snap Use semantic headings in user settings Security (#10774) 2023-05-18 22:32:10 +00:00
FontScalingPanel-test.tsx.snap Use browser's font size instead of hardcoded 16px as root font size (#12246) 2024-02-21 11:23:07 +00:00
KeyboardShortcut-test.tsx.snap Migrate KeyboardShortcut tests from Enzyme to RTL (#9405) 2022-10-13 14:32:45 +01:00
LayoutSwitcher-test.tsx.snap Fix alignment of RTL messages (#12837) 2024-07-31 22:23:46 +00:00
Notifications-test.tsx.snap Add activity toggle for TAC (#12413) 2024-04-12 13:18:09 +00:00
PowerLevelSelector-test.tsx.snap Update @vector-im/compound-web (#12675) 2024-06-24 12:51:10 +00:00
SecureBackupPanel-test.tsx.snap Refine styles of controls to match Compound (#12299) 2024-03-05 04:25:47 +00:00
SetIntegrationManager-test.tsx.snap Move integrations switch (#12733) 2024-07-10 19:10:19 +00:00
SettingsFieldset-test.tsx.snap Fix spacing regression in user settings - roles & permissions (#10993) 2023-05-28 22:20:44 +00:00
ThemeChoicePanel-test.tsx.snap Update compound-design-tokens to satisfy compound-web peer dependency (#12808) 2024-07-24 09:49:33 +00:00