mirror of
https://github.com/bitwarden/android.git
synced 2025-03-15 18:58:59 +03:00
BIT-1679 Update test tags for VaultItemScreen (#973)
This commit is contained in:
parent
0ebddadcae
commit
1a9ed4d288
4 changed files with 5 additions and 4 deletions
|
@ -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) { },
|
||||
|
|
Loading…
Add table
Reference in a new issue