mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-22 12:03:09 -04:00
Fixed: SearchFragmentTestForCustomApp
which sometimes failing on API level 33 and above.
This commit is contained in:
parent
3ee0977534
commit
de807f2a51
@ -118,10 +118,10 @@ class SearchRobot {
|
|||||||
|
|
||||||
fun searchAndClickOnArticle(searchString: String, composeTestRule: ComposeContentTestRule) {
|
fun searchAndClickOnArticle(searchString: String, composeTestRule: ComposeContentTestRule) {
|
||||||
// wait a bit to properly load the ZIM file in the reader
|
// wait a bit to properly load the ZIM file in the reader
|
||||||
composeTestRule.waitUntilTimeout(TestUtils.TEST_PAUSE_MS_FOR_SEARCH_TEST.toLong())
|
composeTestRule.waitUntilTimeout()
|
||||||
openSearchScreen()
|
openSearchScreen()
|
||||||
// Wait a bit to properly visible the search screen.
|
// Wait a bit to properly visible the search screen.
|
||||||
composeTestRule.waitUntilTimeout(TestUtils.TEST_PAUSE_MS_FOR_SEARCH_TEST.toLong())
|
composeTestRule.waitUntilTimeout()
|
||||||
searchWithFrequentlyTypedWords(searchString, composeTestRule = composeTestRule)
|
searchWithFrequentlyTypedWords(searchString, composeTestRule = composeTestRule)
|
||||||
clickOnSearchItemInSearchList(composeTestRule)
|
clickOnSearchItemInSearchList(composeTestRule)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user