Device manager - logout current session (PSG-743) (#9275)

* trigger verification of other devices

* add sign out of current device section in device details

* fix classname

* lint

* strict type fix

* fix test

* improve mocked VerifReq
This commit is contained in:
Kerry
2022-09-14 14:37:36 +02:00
committed by GitHub
parent 41960b164b
commit f20d86b7b8
13 changed files with 113 additions and 16 deletions
@@ -50,7 +50,7 @@ HTMLCollection [
Session details
</p>
<table
class="mxDeviceDetails_metadataTable"
class="mx_DeviceDetails_metadataTable"
>
<tbody>
<tr>
@@ -78,7 +78,7 @@ HTMLCollection [
</tbody>
</table>
<table
class="mxDeviceDetails_metadataTable"
class="mx_DeviceDetails_metadataTable"
>
<thead>
<tr>
@@ -101,6 +101,18 @@ HTMLCollection [
</tbody>
</table>
</section>
<section
class="mx_DeviceDetails_section"
>
<div
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_danger_inline"
data-testid="device-detail-sign-out-cta"
role="button"
tabindex="0"
>
Sign out of this session
</div>
</section>
</div>,
]
`;