Skip to content

Commit

Permalink
fix: TestTag for DeviceItem #WPB-9784 πŸ’ (#3601)
Browse files Browse the repository at this point in the history
Co-authored-by: boris <[email protected]>
Co-authored-by: Yamil Medina <[email protected]>
  • Loading branch information
3 people authored Nov 11, 2024
1 parent da5dc93 commit afeb086
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 afeb086

Please sign in to comment.