BIT-1677 Update the tags on the AddEdit Item screen. (#972)

This commit is contained in:
Oleg Semenenko 2024-02-07 09:06:29 -06:00 committed by Álison Fernandes
parent 899355551f
commit e2e52d84b1
4 changed files with 14 additions and 7 deletions

View file

@ -166,7 +166,9 @@ fun LazyListScope.vaultAddEditCardItems(
.first { it.name == selectedFolderName },
)
},
modifier = Modifier.padding(horizontal = 16.dp),
modifier = Modifier
.semantics { testTag = "FolderPicker" }
.padding(horizontal = 16.dp),
)
}

View file

@ -275,7 +275,9 @@ fun LazyListScope.vaultAddEditIdentityItems(
.first { it.name == selectedFolderName },
)
},
modifier = Modifier.padding(horizontal = 16.dp),
modifier = Modifier
.semantics { testTag = "FolderPicker" }
.padding(horizontal = 16.dp),
)
}

View file

@ -202,7 +202,9 @@ fun LazyListScope.vaultAddEditLoginItems(
.first { it.name == selectedFolderName },
)
},
modifier = Modifier.padding(horizontal = 16.dp),
modifier = Modifier
.semantics { testTag = "FolderPicker" }
.padding(horizontal = 16.dp),
)
}
@ -375,11 +377,10 @@ private fun UsernameRow(
shouldShowDialog = true
}
},
modifier = Modifier.semantics { testTag = "GenerateUsernameButton" },
)
},
modifier = Modifier
.semantics { testTag = "GenerateUsernameButton" }
.padding(horizontal = 16.dp),
modifier = Modifier.padding(horizontal = 16.dp),
)
if (shouldShowDialog) {

View file

@ -74,7 +74,9 @@ fun LazyListScope.vaultAddEditSecureNotesItems(
.first { it.name == selectedFolderName },
)
},
modifier = Modifier.padding(horizontal = 16.dp),
modifier = Modifier
.semantics { testTag = "FolderPicker" }
.padding(horizontal = 16.dp),
)
}