Skip to content

Commit

Permalink
fix: TestTag for DeviceItem #WPB-9784 (#3597)
Browse files Browse the repository at this point in the history
  • Loading branch information
borichellow authored Nov 7, 2024
1 parent 5225e02 commit ed80ab9
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit ed80ab9

Please sign in to comment.