2022-08-09 15:07:25 +02:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
|
|
|
exports[`<SelectableDeviceTile /> renders selected tile 1`] = `
|
|
|
|
<input
|
|
|
|
checked=""
|
|
|
|
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
|
|
|
|
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
|
|
|
|
class="mx_DeviceTile"
|
2022-08-10 18:14:59 +02:00
|
|
|
data-testid="device-tile-my-device"
|
2022-08-09 15:07:25 +02:00
|
|
|
>
|
2022-08-29 12:48:00 +02:00
|
|
|
<div
|
|
|
|
class="mx_DeviceType"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
aria-label="Unknown device type"
|
|
|
|
class="mx_DeviceType_deviceIcon"
|
|
|
|
role="img"
|
|
|
|
/>
|
|
|
|
<div
|
|
|
|
aria-label="Unverified"
|
|
|
|
class="mx_DeviceType_verificationIcon unverified"
|
|
|
|
role="img"
|
|
|
|
/>
|
|
|
|
</div>
|
2022-08-09 15:07:25 +02:00
|
|
|
<div
|
|
|
|
class="mx_DeviceTile_info"
|
|
|
|
>
|
|
|
|
<div
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
<h4
|
|
|
|
class="mx_Heading_h4"
|
|
|
|
>
|
|
|
|
My Device
|
|
|
|
</h4>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_DeviceTile_metadata"
|
|
|
|
>
|
2022-08-10 18:14:59 +02:00
|
|
|
<span
|
|
|
|
data-testid="device-metadata-isVerified"
|
|
|
|
>
|
|
|
|
Unverified
|
|
|
|
</span>
|
|
|
|
·
|
2022-08-09 15:07:25 +02:00
|
|
|
<span
|
|
|
|
data-testid="device-metadata-lastSeenIp"
|
|
|
|
>
|
|
|
|
123.456.789
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_DeviceTile_actions"
|
|
|
|
>
|
|
|
|
<div>
|
|
|
|
test
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|