fix(test): use assertExists for draft text assertion in ChatViewModelScopeTest

This commit is contained in:
Ochenstarik 2026-08-25 10:02:49 +07:00
parent 64b06900b2
commit c691d558f2

View file

@ -33,6 +33,6 @@ class ChatViewModelScopeTest {
composeTestRule.activityRule.scenario.recreate()
composeTestRule.waitForIdle()
composeTestRule.onNodeWithText("Draft prompt before rotation", substring = true).assertIsDisplayed()
composeTestRule.onNodeWithText("Draft prompt before rotation", substring = true).assertExists()
}
}