mirror of
https://github.com/bitwarden/android.git
synced 2026-05-31 01:22:39 -05:00
Add select option for title in identity creation (#506)
This commit is contained in:
@@ -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 ->
|
||||
|
||||
Reference in New Issue
Block a user