We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bb8530 commit 4b69597Copy full SHA for 4b69597
android/app/src/androidTest/kotlin/net/mullvad/mullvadvpn/compose/dialog/EditCustomListNameDialogTest.kt
@@ -109,13 +109,12 @@ class EditCustomListNameDialogTest {
109
// Arrange
110
val mockedUpdateName: (String) -> Unit = mockk(relaxed = true)
111
val inputText = "NEW NAME"
112
- val state = EditCustomListNameUiState()
+ val state = EditCustomListNameUiState(name = inputText)
113
setContentWithTheme {
114
EditCustomListNameDialog(state = state, updateName = mockedUpdateName)
115
}
116
117
// Act
118
- onNodeWithTag(EDIT_CUSTOM_LIST_DIALOG_INPUT_TEST_TAG).performTextInput(inputText)
119
onNodeWithText(SAVE_BUTTON_TEXT).performClick()
120
121
// Assert
0 commit comments