From 0ec3df1c8f25d7898b1168dd2604ad43487939dd Mon Sep 17 00:00:00 2001 From: boris Date: Thu, 7 Nov 2024 10:48:23 +0000 Subject: [PATCH] fix: TestTag for DeviceItem #WPB-9784 (#3597) --- .../com/wire/android/ui/authentication/devices/DeviceItem.kt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/kotlin/com/wire/android/ui/authentication/devices/DeviceItem.kt b/app/src/main/kotlin/com/wire/android/ui/authentication/devices/DeviceItem.kt index 7eb4d18c742..a3a940da9e5 100644 --- a/app/src/main/kotlin/com/wire/android/ui/authentication/devices/DeviceItem.kt +++ b/app/src/main/kotlin/com/wire/android/ui/authentication/devices/DeviceItem.kt @@ -64,6 +64,8 @@ import com.wire.android.util.extension.formatAsString import com.wire.android.util.ui.PreviewMultipleThemes import com.wire.android.util.ui.UIText +const val DEVICE_ITEM_TEST_TAG = "device_item" + @Composable fun DeviceItem( device: Device, @@ -104,6 +106,7 @@ private fun DeviceItemContent( Row( verticalAlignment = Alignment.Top, modifier = modifier + .testTag(DEVICE_ITEM_TEST_TAG) .clickable( enabled = isWholeItemClickable, onClickLabel = stringResource(id = R.string.content_description_user_profile_open_device_btn)