mirror of
https://github.com/bitwarden/android.git
synced 2026-05-11 10:54:26 -05:00
BIT-1679 Update test tags for VaultItemScreen (#973)
This commit is contained in:
@@ -54,6 +54,7 @@ fun VaultItemCardContent(
|
||||
readOnly = true,
|
||||
singleLine = false,
|
||||
modifier = Modifier
|
||||
.semantics { testTag = "ItemRow" }
|
||||
.fillMaxWidth()
|
||||
.padding(horizontal = 16.dp),
|
||||
)
|
||||
@@ -233,7 +234,6 @@ fun VaultItemCardContent(
|
||||
header = "${stringResource(id = R.string.date_updated)}: ",
|
||||
text = commonState.lastUpdated,
|
||||
modifier = Modifier
|
||||
.semantics { testTag = "ItemRow" }
|
||||
.fillMaxWidth()
|
||||
.padding(horizontal = 16.dp),
|
||||
)
|
||||
|
||||
@@ -47,6 +47,7 @@ fun VaultItemIdentityContent(
|
||||
readOnly = true,
|
||||
singleLine = false,
|
||||
modifier = Modifier
|
||||
.semantics { testTag = "ItemRow" }
|
||||
.fillMaxWidth()
|
||||
.padding(horizontal = 16.dp),
|
||||
)
|
||||
@@ -263,7 +264,6 @@ fun VaultItemIdentityContent(
|
||||
header = "${stringResource(id = R.string.date_updated)}: ",
|
||||
text = commonState.lastUpdated,
|
||||
modifier = Modifier
|
||||
.semantics { testTag = "ItemRow" }
|
||||
.fillMaxWidth()
|
||||
.padding(horizontal = 16.dp),
|
||||
)
|
||||
|
||||
@@ -66,6 +66,7 @@ fun VaultItemLoginContent(
|
||||
readOnly = true,
|
||||
singleLine = false,
|
||||
modifier = Modifier
|
||||
.semantics { testTag = "ItemRow" }
|
||||
.fillMaxWidth()
|
||||
.padding(horizontal = 16.dp),
|
||||
)
|
||||
@@ -193,6 +194,7 @@ fun VaultItemLoginContent(
|
||||
items(attachments) { attachmentItem ->
|
||||
AttachmentItemContent(
|
||||
modifier = Modifier
|
||||
.semantics { testTag = "CipherAttachment" }
|
||||
.fillMaxWidth()
|
||||
.padding(start = 16.dp),
|
||||
attachmentItem = attachmentItem,
|
||||
@@ -209,7 +211,6 @@ fun VaultItemLoginContent(
|
||||
header = "${stringResource(id = R.string.date_updated)}: ",
|
||||
text = commonState.lastUpdated,
|
||||
modifier = Modifier
|
||||
.semantics { testTag = "ItemRow" }
|
||||
.fillMaxWidth()
|
||||
.padding(horizontal = 16.dp),
|
||||
)
|
||||
|
||||
@@ -51,6 +51,7 @@ fun VaultItemSecureNoteContent(
|
||||
readOnly = true,
|
||||
singleLine = false,
|
||||
modifier = Modifier
|
||||
.semantics { testTag = "ItemRow" }
|
||||
.fillMaxWidth()
|
||||
.padding(horizontal = 16.dp),
|
||||
)
|
||||
@@ -131,7 +132,6 @@ fun VaultItemSecureNoteContent(
|
||||
Spacer(modifier = Modifier.height(24.dp))
|
||||
Row(
|
||||
modifier = Modifier
|
||||
.semantics { testTag = "ItemRow" }
|
||||
.fillMaxWidth()
|
||||
.padding(horizontal = 16.dp)
|
||||
.semantics(mergeDescendants = true) { },
|
||||
|
||||
Reference in New Issue
Block a user