mirror of
https://github.com/bitwarden/android.git
synced 2026-11-20 11:37:52 -06:00
BIT-1570 Make the name value appear in the dialog (#907)
This commit is contained in:
committed by
Álison Fernandes
parent
0f72413379
commit
2127dcbb1d
+11
-2
@@ -2310,9 +2310,18 @@ class VaultAddEditScreenTest : BaseComposeTest() {
|
||||
.onNodeWithText("Edit")
|
||||
.performClick()
|
||||
|
||||
composeTestRule
|
||||
.onAllNodesWithText("TestBoolean")
|
||||
.filterToOne(hasAnyAncestor(isDialog()))
|
||||
.assertIsDisplayed()
|
||||
|
||||
composeTestRule
|
||||
.onNodeWithText("Name")
|
||||
.performTextInput("NewTestBooleanName")
|
||||
.performTextClearance()
|
||||
|
||||
composeTestRule
|
||||
.onNodeWithText("Name")
|
||||
.performTextInput("Boolean")
|
||||
|
||||
composeTestRule
|
||||
.onNodeWithText("Ok")
|
||||
@@ -2321,7 +2330,7 @@ class VaultAddEditScreenTest : BaseComposeTest() {
|
||||
verify {
|
||||
viewModel.trySendAction(
|
||||
VaultAddEditAction.Common.CustomFieldValueChange(
|
||||
VaultAddEditState.Custom.BooleanField("Test ID 1", "NewTestBooleanName", false),
|
||||
VaultAddEditState.Custom.BooleanField("Test ID 1", "Boolean", false),
|
||||
),
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user