mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-29 03:49:28 +08:00
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
102 lines
2.2 KiB
Plaintext
102 lines
2.2 KiB
Plaintext
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
exports[`<PhoneNumbers /> should handle no numbers 1`] = `
|
|
<div>
|
|
<div
|
|
class="mx_SettingsSubsection"
|
|
data-testid="mx_PhoneNumbers"
|
|
>
|
|
<div
|
|
class="mx_SettingsSubsectionHeading"
|
|
>
|
|
<h3
|
|
class="mx_Heading_h3 mx_SettingsSubsectionHeading_heading"
|
|
>
|
|
Phone numbers
|
|
</h3>
|
|
</div>
|
|
<div
|
|
class="mx_SettingsSubsection_description"
|
|
>
|
|
<div
|
|
class="mx_SettingsSubsection_text"
|
|
>
|
|
Discovery options will appear once you have added a phone number above.
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`<PhoneNumbers /> should render a loader while loading 1`] = `
|
|
<div>
|
|
<div
|
|
class="mx_SettingsSubsection"
|
|
data-testid="mx_PhoneNumbers"
|
|
>
|
|
<div
|
|
class="mx_SettingsSubsectionHeading"
|
|
>
|
|
<h3
|
|
class="mx_Heading_h3 mx_SettingsSubsectionHeading_heading"
|
|
>
|
|
Phone numbers
|
|
</h3>
|
|
</div>
|
|
<div
|
|
class="mx_SettingsSubsection_content mx_SettingsSubsection_contentStretch"
|
|
>
|
|
<div
|
|
class="mx_InlineSpinner"
|
|
>
|
|
<div
|
|
aria-label="Loading…"
|
|
class="mx_InlineSpinner_icon mx_Spinner_icon"
|
|
style="width: 16px; height: 16px;"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|
|
|
|
exports[`<PhoneNumbers /> should render phone numbers 1`] = `
|
|
<div>
|
|
<div
|
|
class="mx_SettingsSubsection"
|
|
data-testid="mx_PhoneNumbers"
|
|
>
|
|
<div
|
|
class="mx_SettingsSubsectionHeading"
|
|
>
|
|
<h3
|
|
class="mx_Heading_h3 mx_SettingsSubsectionHeading_heading"
|
|
>
|
|
Phone numbers
|
|
</h3>
|
|
</div>
|
|
<div
|
|
class="mx_SettingsSubsection_content mx_SettingsSubsection_contentStretch"
|
|
>
|
|
<div
|
|
class="mx_GeneralUserSettingsTab_section--discovery_existing"
|
|
>
|
|
<span
|
|
class="mx_GeneralUserSettingsTab_section--discovery_existing_address"
|
|
>
|
|
+
|
|
+441111111111
|
|
</span>
|
|
<div
|
|
class="mx_AccessibleButton mx_GeneralUserSettingsTab_section--discovery_existing_button mx_AccessibleButton_hasKind mx_AccessibleButton_kind_danger_sm"
|
|
role="button"
|
|
tabindex="0"
|
|
>
|
|
Revoke
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
`;
|