BIT-1679 Add the CipherAttachment test tag (#987)

This commit is contained in:
Oleg Semenenko 2024-02-08 11:33:10 -06:00 committed by Álison Fernandes
parent ec0df1d2a1
commit e04b2a95e4
3 changed files with 3 additions and 0 deletions

View file

@ -218,6 +218,7 @@ fun VaultItemCardContent(
items(attachments) { attachmentItem -> items(attachments) { attachmentItem ->
AttachmentItemContent( AttachmentItemContent(
modifier = Modifier modifier = Modifier
.semantics { testTag = "CipherAttachment" }
.fillMaxWidth() .fillMaxWidth()
.padding(start = 16.dp), .padding(start = 16.dp),
attachmentItem = attachmentItem, attachmentItem = attachmentItem,

View file

@ -248,6 +248,7 @@ fun VaultItemIdentityContent(
items(attachments) { attachmentItem -> items(attachments) { attachmentItem ->
AttachmentItemContent( AttachmentItemContent(
modifier = Modifier modifier = Modifier
.semantics { testTag = "CipherAttachment" }
.fillMaxWidth() .fillMaxWidth()
.padding(start = 16.dp), .padding(start = 16.dp),
attachmentItem = attachmentItem, attachmentItem = attachmentItem,

View file

@ -118,6 +118,7 @@ fun VaultItemSecureNoteContent(
items(attachments) { attachmentItem -> items(attachments) { attachmentItem ->
AttachmentItemContent( AttachmentItemContent(
modifier = Modifier modifier = Modifier
.semantics { testTag = "CipherAttachment" }
.fillMaxWidth() .fillMaxWidth()
.padding(start = 16.dp), .padding(start = 16.dp),
attachmentItem = attachmentItem, attachmentItem = attachmentItem,