9f011b955b
* allow testids in settings sections * use semantic headings in LabsUserSettingsTab * put back margin var * use SettingsTab wrapper * use semantic headings for deactivate acc section * use semantic heading in manage integratios * i18n * use currentColor in warning-triangle svg, update use in RoomStatusBar * use semantic headings for discovery section * test manage integration settings * test deactivate account section display * remove SettingsFieldset margins * threepids styles * remove debug * test discovery email and phone
80 lines
1.5 KiB
Text
80 lines
1.5 KiB
Text
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<SettingsFieldset /> renders fieldset with plain text description 1`] = `
|
|
<DocumentFragment>
|
|
<fieldset
|
|
class="mx_SettingsFieldset"
|
|
data-testid="test"
|
|
>
|
|
<legend
|
|
class="mx_SettingsFieldset_legend"
|
|
>
|
|
Who can read history?
|
|
</legend>
|
|
<div
|
|
class="mx_SettingsFieldset_description"
|
|
>
|
|
<div
|
|
class="mx_SettingsSubsection_text"
|
|
>
|
|
Changes to who can read history.
|
|
</div>
|
|
</div>
|
|
<div>
|
|
test
|
|
</div>
|
|
</fieldset>
|
|
</DocumentFragment>
|
|
`;
|
|
|
|
exports[`<SettingsFieldset /> renders fieldset with react description 1`] = `
|
|
<DocumentFragment>
|
|
<fieldset
|
|
class="mx_SettingsFieldset"
|
|
data-testid="test"
|
|
>
|
|
<legend
|
|
class="mx_SettingsFieldset_legend"
|
|
>
|
|
Who can read history?
|
|
</legend>
|
|
<div
|
|
class="mx_SettingsFieldset_description"
|
|
>
|
|
<div
|
|
class="mx_SettingsSubsection_text"
|
|
>
|
|
<p>
|
|
Test
|
|
</p>
|
|
<a
|
|
href="#test"
|
|
>
|
|
a link
|
|
</a>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
test
|
|
</div>
|
|
</fieldset>
|
|
</DocumentFragment>
|
|
`;
|
|
|
|
exports[`<SettingsFieldset /> renders fieldset without description 1`] = `
|
|
<DocumentFragment>
|
|
<fieldset
|
|
class="mx_SettingsFieldset"
|
|
data-testid="test"
|
|
>
|
|
<legend
|
|
class="mx_SettingsFieldset_legend"
|
|
>
|
|
Who can read history?
|
|
</legend>
|
|
<div>
|
|
test
|
|
</div>
|
|
</fieldset>
|
|
</DocumentFragment>
|
|
`;
|