Add select option for title in identity creation (#506)

This commit is contained in:
Ramsey Smith
2024-01-05 15:36:17 -07:00
committed by GitHub
parent f5ddb3cba1
commit 62e82dec1f
5 changed files with 13 additions and 5 deletions

View File

@@ -625,7 +625,7 @@ class VaultAddEditScreenTest : BaseComposeTest() {
mutableStateFlow.value = DEFAULT_STATE_IDENTITY
// Opens the menu
composeTestRule
.onNodeWithContentDescriptionAfterScroll(label = "Title, Mr")
.onNodeWithContentDescriptionAfterScroll(label = "Title, -- Select --")
.performClick()
// Choose the option from the menu
@@ -648,7 +648,7 @@ class VaultAddEditScreenTest : BaseComposeTest() {
fun `in ItemType_Identity the Title should display the selected title from the state`() {
mutableStateFlow.value = DEFAULT_STATE_IDENTITY
composeTestRule
.onNodeWithContentDescriptionAfterScroll(label = "Title, Mr")
.onNodeWithContentDescriptionAfterScroll(label = "Title, -- Select --")
.assertIsDisplayed()
mutableStateFlow.update { currentState ->