2021-12-10 01:44:22 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`<SettingsFieldset /> renders fieldset with plain text description 1`] = `
|
2023-02-22 18:52:55 +08:00
|
|
|
<DocumentFragment>
|
|
|
|
<fieldset
|
|
|
|
class="mx_SettingsFieldset"
|
|
|
|
data-testid="test"
|
2021-12-10 01:44:22 +08:00
|
|
|
>
|
2023-02-22 18:52:55 +08:00
|
|
|
<legend
|
|
|
|
class="mx_SettingsFieldset_legend"
|
|
|
|
>
|
|
|
|
Who can read history?
|
|
|
|
</legend>
|
|
|
|
<div
|
|
|
|
class="mx_SettingsFieldset_description"
|
|
|
|
>
|
2023-05-24 10:37:10 +08:00
|
|
|
<div
|
|
|
|
class="mx_SettingsSubsection_text"
|
|
|
|
>
|
|
|
|
Changes to who can read history.
|
|
|
|
</div>
|
2023-02-22 18:52:55 +08:00
|
|
|
</div>
|
2023-05-29 06:20:44 +08:00
|
|
|
<div
|
|
|
|
class="mx_SettingsFieldset_content"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
test
|
|
|
|
</div>
|
2023-02-22 18:52:55 +08:00
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</DocumentFragment>
|
2021-12-10 01:44:22 +08:00
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`<SettingsFieldset /> renders fieldset with react description 1`] = `
|
2023-02-22 18:52:55 +08:00
|
|
|
<DocumentFragment>
|
|
|
|
<fieldset
|
|
|
|
class="mx_SettingsFieldset"
|
|
|
|
data-testid="test"
|
2021-12-10 01:44:22 +08:00
|
|
|
>
|
2023-02-22 18:52:55 +08:00
|
|
|
<legend
|
|
|
|
class="mx_SettingsFieldset_legend"
|
|
|
|
>
|
|
|
|
Who can read history?
|
|
|
|
</legend>
|
|
|
|
<div
|
|
|
|
class="mx_SettingsFieldset_description"
|
2021-12-10 01:44:22 +08:00
|
|
|
>
|
2023-05-24 10:37:10 +08:00
|
|
|
<div
|
|
|
|
class="mx_SettingsSubsection_text"
|
2023-02-22 18:52:55 +08:00
|
|
|
>
|
2023-05-24 10:37:10 +08:00
|
|
|
<p>
|
|
|
|
Test
|
|
|
|
</p>
|
|
|
|
<a
|
|
|
|
href="#test"
|
|
|
|
>
|
|
|
|
a link
|
|
|
|
</a>
|
|
|
|
</div>
|
2023-02-22 18:52:55 +08:00
|
|
|
</div>
|
2023-05-29 06:20:44 +08:00
|
|
|
<div
|
|
|
|
class="mx_SettingsFieldset_content"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
test
|
|
|
|
</div>
|
2023-02-22 18:52:55 +08:00
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</DocumentFragment>
|
2021-12-10 01:44:22 +08:00
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`<SettingsFieldset /> renders fieldset without description 1`] = `
|
2023-02-22 18:52:55 +08:00
|
|
|
<DocumentFragment>
|
|
|
|
<fieldset
|
|
|
|
class="mx_SettingsFieldset"
|
|
|
|
data-testid="test"
|
2021-12-10 01:44:22 +08:00
|
|
|
>
|
2023-02-22 18:52:55 +08:00
|
|
|
<legend
|
|
|
|
class="mx_SettingsFieldset_legend"
|
|
|
|
>
|
|
|
|
Who can read history?
|
|
|
|
</legend>
|
2023-05-29 06:20:44 +08:00
|
|
|
<div
|
|
|
|
class="mx_SettingsFieldset_content"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
test
|
|
|
|
</div>
|
2023-02-22 18:52:55 +08:00
|
|
|
</div>
|
|
|
|
</fieldset>
|
|
|
|
</DocumentFragment>
|
2021-12-10 01:44:22 +08:00
|
|
|
`;
|