mirror of
https://github.com/element-hq/element-web
synced 2024-11-29 12:58:53 +03:00
520659242b
* add content container to settingsfieldset * fix spacing
92 lines
1.7 KiB
Text
92 lines
1.7 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
|
|
class="mx_SettingsFieldset_content"
|
|
>
|
|
<div>
|
|
test
|
|
</div>
|
|
</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
|
|
class="mx_SettingsFieldset_content"
|
|
>
|
|
<div>
|
|
test
|
|
</div>
|
|
</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
|
|
class="mx_SettingsFieldset_content"
|
|
>
|
|
<div>
|
|
test
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
</DocumentFragment>
|
|
`;
|