2022-08-09 21:07:25 +08:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`<SelectableDeviceTile /> renders selected tile 1`] = `
|
|
|
|
<input
|
|
|
|
checked=""
|
2022-09-30 15:07:50 +08:00
|
|
|
data-testid="device-tile-checkbox-my-device"
|
2022-08-09 21:07:25 +08:00
|
|
|
id="device-tile-checkbox-my-device"
|
|
|
|
type="checkbox"
|
|
|
|
/>
|
|
|
|
`;
|
|
|
|
|
|
|
|
exports[`<SelectableDeviceTile /> renders unselected device tile with checkbox 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="mx_SelectableDeviceTile"
|
|
|
|
>
|
|
|
|
<span
|
|
|
|
class="mx_Checkbox mx_SelectableDeviceTile_checkbox mx_Checkbox_hasKind mx_Checkbox_kind_solid"
|
|
|
|
>
|
|
|
|
<input
|
2022-09-30 15:07:50 +08:00
|
|
|
data-testid="device-tile-checkbox-my-device"
|
2022-08-09 21:07:25 +08:00
|
|
|
id="device-tile-checkbox-my-device"
|
|
|
|
type="checkbox"
|
|
|
|
/>
|
|
|
|
<label
|
|
|
|
for="device-tile-checkbox-my-device"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_Checkbox_background"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
class="mx_Checkbox_checkmark"
|
|
|
|
/>
|
|
|
|
</div>
|
|
|
|
</label>
|
|
|
|
</span>
|
|
|
|
<div
|
2022-10-14 19:43:20 +08:00
|
|
|
class="mx_DeviceTile mx_DeviceTile_interactive"
|
2022-08-11 00:14:59 +08:00
|
|
|
data-testid="device-tile-my-device"
|
2022-08-09 21:07:25 +08:00
|
|
|
>
|
2022-08-29 18:48:00 +08:00
|
|
|
<div
|
2022-10-05 19:41:01 +08:00
|
|
|
class="mx_DeviceTypeIcon"
|
2022-08-29 18:48:00 +08:00
|
|
|
>
|
|
|
|
<div
|
2022-10-06 18:34:11 +08:00
|
|
|
class="mx_DeviceTypeIcon_deviceIconWrapper"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-label="Unknown session type"
|
|
|
|
class="mx_DeviceTypeIcon_deviceIcon"
|
|
|
|
role="img"
|
|
|
|
/>
|
|
|
|
</div>
|
2022-08-29 18:48:00 +08:00
|
|
|
<div
|
|
|
|
aria-label="Unverified"
|
2022-10-05 19:41:01 +08:00
|
|
|
class="mx_DeviceTypeIcon_verificationIcon unverified"
|
2022-08-29 18:48:00 +08:00
|
|
|
role="img"
|
|
|
|
/>
|
|
|
|
</div>
|
2022-08-09 21:07:25 +08:00
|
|
|
<div
|
|
|
|
class="mx_DeviceTile_info"
|
|
|
|
>
|
2022-09-23 21:21:04 +08:00
|
|
|
<h4
|
|
|
|
class="mx_Heading_h4"
|
2022-08-09 21:07:25 +08:00
|
|
|
>
|
2022-09-23 21:21:04 +08:00
|
|
|
My Device
|
|
|
|
</h4>
|
2022-08-09 21:07:25 +08:00
|
|
|
<div
|
|
|
|
class="mx_DeviceTile_metadata"
|
|
|
|
>
|
2022-08-11 00:14:59 +08:00
|
|
|
<span
|
|
|
|
data-testid="device-metadata-isVerified"
|
|
|
|
>
|
|
|
|
Unverified
|
|
|
|
</span>
|
|
|
|
·
|
2022-08-09 21:07:25 +08:00
|
|
|
<span
|
|
|
|
data-testid="device-metadata-lastSeenIp"
|
|
|
|
>
|
|
|
|
123.456.789
|
|
|
|
</span>
|
2022-09-23 21:21:04 +08:00
|
|
|
·
|
|
|
|
<span
|
|
|
|
data-testid="device-metadata-deviceId"
|
|
|
|
>
|
|
|
|
my-device
|
|
|
|
</span>
|
2022-08-09 21:07:25 +08:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_DeviceTile_actions"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
test
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|