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

This commit is contained in:
Ramsey Smith
2024-06-20 17:08:07 +01:00
committed by Álison Fernandes
parent bd5e00e27a
commit 8d6e492473
5 changed files with 13 additions and 5 deletions
@@ -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 ->