Skip to content

Commit d92963c

Browse files
committed
test: Wait for text field in edit title test case
- In the `EditTitleAfterSaveTestCase`, add a `waitUntilDisplayed` call for the "Note Text Field". - This ensures the text field is visible before attempting to type into it, improving test stability.
1 parent 489067a commit d92963c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ui/test/src/commonMain/kotlin/com/softartdev/notedelight/ui/cases/EditTitleAfterSaveTestCase.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ class EditTitleAfterSaveTestCase(
3232
composeUiTest.waitUntilDisplayed("fab", blockSNI = ::fabSNI)
3333
fabSNI.performClick()
3434
noteScreen {
35+
composeUiTest.waitUntilDisplayed("Note Text Field", blockSNI = ::textFieldSNI)
3536
textFieldSNI.performTextInput(actualNoteText)
3637
saveNoteMenuButtonSNI.performClick()
3738
backButtonSNI.performClick()

0 commit comments

Comments
 (0)