fix(test): use assertExists for draft text assertion in ChatViewModelScopeTest
This commit is contained in:
parent
64b06900b2
commit
c691d558f2
1 changed files with 1 additions and 1 deletions
|
|
@ -33,6 +33,6 @@ class ChatViewModelScopeTest {
|
||||||
composeTestRule.activityRule.scenario.recreate()
|
composeTestRule.activityRule.scenario.recreate()
|
||||||
composeTestRule.waitForIdle()
|
composeTestRule.waitForIdle()
|
||||||
|
|
||||||
composeTestRule.onNodeWithText("Draft prompt before rotation", substring = true).assertIsDisplayed()
|
composeTestRule.onNodeWithText("Draft prompt before rotation", substring = true).assertExists()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue