2022-08-15 12:40:26 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`<SecurityRecommendations /> renders both cards when user has both unverified and inactive devices 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="mx_SettingsSubsection"
|
|
|
|
data-testid="security-recommendations-section"
|
|
|
|
>
|
2022-10-11 18:12:02 +00:00
|
|
|
<div
|
|
|
|
class="mx_SettingsSubsectionHeading"
|
2022-08-15 12:40:26 +00:00
|
|
|
>
|
2022-10-11 18:12:02 +00:00
|
|
|
<h3
|
|
|
|
class="mx_Heading_h3 mx_SettingsSubsectionHeading_heading"
|
|
|
|
>
|
|
|
|
Security recommendations
|
|
|
|
</h3>
|
|
|
|
</div>
|
2022-08-15 12:40:26 +00:00
|
|
|
<div
|
|
|
|
class="mx_SettingsSubsection_description"
|
|
|
|
>
|
2022-12-20 01:17:05 +00:00
|
|
|
Improve your account security by following these recommendations.
|
2022-08-15 12:40:26 +00:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_SettingsSubsection_content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_DeviceSecurityCard"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_DeviceSecurityCard_icon Unverified"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
height="16"
|
|
|
|
width="16"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_DeviceSecurityCard_content"
|
|
|
|
>
|
|
|
|
<p
|
|
|
|
class="mx_DeviceSecurityCard_heading"
|
|
|
|
>
|
|
|
|
Unverified sessions
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="mx_DeviceSecurityCard_description"
|
|
|
|
>
|
|
|
|
Verify your sessions for enhanced secure messaging or sign out from those you don't recognize or use anymore.
|
2022-10-26 09:30:32 +00:00
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_LearnMore_button mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Learn more
|
|
|
|
</div>
|
2022-08-15 12:40:26 +00:00
|
|
|
</p>
|
|
|
|
<div
|
2022-08-29 10:48:00 +00:00
|
|
|
class="mx_DeviceSecurityCard_actions"
|
2022-08-15 12:40:26 +00:00
|
|
|
>
|
2022-08-29 10:48:00 +00:00
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline"
|
2022-08-31 12:34:22 +00:00
|
|
|
data-testid="unverified-devices-cta"
|
2022-08-29 10:48:00 +00:00
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
View all (1)
|
|
|
|
</div>
|
2022-08-15 12:40:26 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_SecurityRecommendations_spacing"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="mx_DeviceSecurityCard"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_DeviceSecurityCard_icon Inactive"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
height="16"
|
|
|
|
width="16"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_DeviceSecurityCard_content"
|
|
|
|
>
|
|
|
|
<p
|
|
|
|
class="mx_DeviceSecurityCard_heading"
|
|
|
|
>
|
|
|
|
Inactive sessions
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="mx_DeviceSecurityCard_description"
|
|
|
|
>
|
2022-12-20 01:17:05 +00:00
|
|
|
Consider signing out from old sessions (90 days or older) you don't use anymore.
|
2022-10-26 09:30:32 +00:00
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_LearnMore_button mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Learn more
|
|
|
|
</div>
|
2022-08-15 12:40:26 +00:00
|
|
|
</p>
|
|
|
|
<div
|
2022-08-29 10:48:00 +00:00
|
|
|
class="mx_DeviceSecurityCard_actions"
|
2022-08-15 12:40:26 +00:00
|
|
|
>
|
2022-08-29 10:48:00 +00:00
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline"
|
2022-08-31 12:34:22 +00:00
|
|
|
data-testid="inactive-devices-cta"
|
2022-08-29 10:48:00 +00:00
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
View all (1)
|
|
|
|
</div>
|
2022-08-15 12:40:26 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`<SecurityRecommendations /> renders inactive devices section when user has inactive devices 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="mx_SettingsSubsection"
|
|
|
|
data-testid="security-recommendations-section"
|
|
|
|
>
|
2022-10-11 18:12:02 +00:00
|
|
|
<div
|
|
|
|
class="mx_SettingsSubsectionHeading"
|
2022-08-15 12:40:26 +00:00
|
|
|
>
|
2022-10-11 18:12:02 +00:00
|
|
|
<h3
|
|
|
|
class="mx_Heading_h3 mx_SettingsSubsectionHeading_heading"
|
|
|
|
>
|
|
|
|
Security recommendations
|
|
|
|
</h3>
|
|
|
|
</div>
|
2022-08-15 12:40:26 +00:00
|
|
|
<div
|
|
|
|
class="mx_SettingsSubsection_description"
|
|
|
|
>
|
2022-12-20 01:17:05 +00:00
|
|
|
Improve your account security by following these recommendations.
|
2022-08-15 12:40:26 +00:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_SettingsSubsection_content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_DeviceSecurityCard"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_DeviceSecurityCard_icon Unverified"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
height="16"
|
|
|
|
width="16"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_DeviceSecurityCard_content"
|
|
|
|
>
|
|
|
|
<p
|
|
|
|
class="mx_DeviceSecurityCard_heading"
|
|
|
|
>
|
|
|
|
Unverified sessions
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="mx_DeviceSecurityCard_description"
|
|
|
|
>
|
|
|
|
Verify your sessions for enhanced secure messaging or sign out from those you don't recognize or use anymore.
|
2022-10-26 09:30:32 +00:00
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_LearnMore_button mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Learn more
|
|
|
|
</div>
|
2022-08-15 12:40:26 +00:00
|
|
|
</p>
|
|
|
|
<div
|
2022-08-29 10:48:00 +00:00
|
|
|
class="mx_DeviceSecurityCard_actions"
|
2022-08-15 12:40:26 +00:00
|
|
|
>
|
2022-08-29 10:48:00 +00:00
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline"
|
2022-08-31 12:34:22 +00:00
|
|
|
data-testid="unverified-devices-cta"
|
2022-08-29 10:48:00 +00:00
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
View all (1)
|
|
|
|
</div>
|
2022-08-15 12:40:26 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_SecurityRecommendations_spacing"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="mx_DeviceSecurityCard"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_DeviceSecurityCard_icon Inactive"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
height="16"
|
|
|
|
width="16"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_DeviceSecurityCard_content"
|
|
|
|
>
|
|
|
|
<p
|
|
|
|
class="mx_DeviceSecurityCard_heading"
|
|
|
|
>
|
|
|
|
Inactive sessions
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="mx_DeviceSecurityCard_description"
|
|
|
|
>
|
2022-12-20 01:17:05 +00:00
|
|
|
Consider signing out from old sessions (90 days or older) you don't use anymore.
|
2022-10-26 09:30:32 +00:00
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_LearnMore_button mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Learn more
|
|
|
|
</div>
|
2022-08-15 12:40:26 +00:00
|
|
|
</p>
|
|
|
|
<div
|
2022-08-29 10:48:00 +00:00
|
|
|
class="mx_DeviceSecurityCard_actions"
|
2022-08-15 12:40:26 +00:00
|
|
|
>
|
2022-08-29 10:48:00 +00:00
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline"
|
2022-08-31 12:34:22 +00:00
|
|
|
data-testid="inactive-devices-cta"
|
2022-08-29 10:48:00 +00:00
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
View all (1)
|
|
|
|
</div>
|
2022-08-15 12:40:26 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`<SecurityRecommendations /> renders unverified devices section when user has unverified devices 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="mx_SettingsSubsection"
|
|
|
|
data-testid="security-recommendations-section"
|
|
|
|
>
|
2022-10-11 18:12:02 +00:00
|
|
|
<div
|
|
|
|
class="mx_SettingsSubsectionHeading"
|
2022-08-15 12:40:26 +00:00
|
|
|
>
|
2022-10-11 18:12:02 +00:00
|
|
|
<h3
|
|
|
|
class="mx_Heading_h3 mx_SettingsSubsectionHeading_heading"
|
|
|
|
>
|
|
|
|
Security recommendations
|
|
|
|
</h3>
|
|
|
|
</div>
|
2022-08-15 12:40:26 +00:00
|
|
|
<div
|
|
|
|
class="mx_SettingsSubsection_description"
|
|
|
|
>
|
2022-12-20 01:17:05 +00:00
|
|
|
Improve your account security by following these recommendations.
|
2022-08-15 12:40:26 +00:00
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_SettingsSubsection_content"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_DeviceSecurityCard"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_DeviceSecurityCard_icon Unverified"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
height="16"
|
|
|
|
width="16"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_DeviceSecurityCard_content"
|
|
|
|
>
|
|
|
|
<p
|
|
|
|
class="mx_DeviceSecurityCard_heading"
|
|
|
|
>
|
|
|
|
Unverified sessions
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="mx_DeviceSecurityCard_description"
|
|
|
|
>
|
|
|
|
Verify your sessions for enhanced secure messaging or sign out from those you don't recognize or use anymore.
|
2022-10-26 09:30:32 +00:00
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_LearnMore_button mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Learn more
|
|
|
|
</div>
|
2022-08-15 12:40:26 +00:00
|
|
|
</p>
|
|
|
|
<div
|
2022-08-29 10:48:00 +00:00
|
|
|
class="mx_DeviceSecurityCard_actions"
|
2022-08-15 12:40:26 +00:00
|
|
|
>
|
2022-08-29 10:48:00 +00:00
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline"
|
2022-08-31 12:34:22 +00:00
|
|
|
data-testid="unverified-devices-cta"
|
2022-08-29 10:48:00 +00:00
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
View all (2)
|
|
|
|
</div>
|
2022-08-15 12:40:26 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_SecurityRecommendations_spacing"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
class="mx_DeviceSecurityCard"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_DeviceSecurityCard_icon Inactive"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
height="16"
|
|
|
|
width="16"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_DeviceSecurityCard_content"
|
|
|
|
>
|
|
|
|
<p
|
|
|
|
class="mx_DeviceSecurityCard_heading"
|
|
|
|
>
|
|
|
|
Inactive sessions
|
|
|
|
</p>
|
|
|
|
<p
|
|
|
|
class="mx_DeviceSecurityCard_description"
|
|
|
|
>
|
2022-12-20 01:17:05 +00:00
|
|
|
Consider signing out from old sessions (90 days or older) you don't use anymore.
|
2022-10-26 09:30:32 +00:00
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_LearnMore_button mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline"
|
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Learn more
|
|
|
|
</div>
|
2022-08-15 12:40:26 +00:00
|
|
|
</p>
|
|
|
|
<div
|
2022-08-29 10:48:00 +00:00
|
|
|
class="mx_DeviceSecurityCard_actions"
|
2022-08-15 12:40:26 +00:00
|
|
|
>
|
2022-08-29 10:48:00 +00:00
|
|
|
<div
|
|
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_link_inline"
|
2022-08-31 12:34:22 +00:00
|
|
|
data-testid="inactive-devices-cta"
|
2022-08-29 10:48:00 +00:00
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
View all (1)
|
|
|
|
</div>
|
2022-08-15 12:40:26 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|