mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-03 18:56:44 -04:00
Improve the GetContentShortcutTest to properly detect the menu item.
This commit is contained in:
parent
00f79df953
commit
de3e2311fe
@ -54,10 +54,12 @@ class LibraryRobot : BaseRobot() {
|
||||
private val zimFileTitle = "Test_Zim"
|
||||
|
||||
fun assertGetZimNearbyDeviceDisplayed(composeTestRule: ComposeContentTestRule) {
|
||||
composeTestRule.apply {
|
||||
waitForIdle()
|
||||
onNodeWithTag(LOCAL_FILE_TRANSFER_MENU_BUTTON_TESTING_TAG).assertIsDisplayed()
|
||||
}
|
||||
testFlakyView({
|
||||
composeTestRule.apply {
|
||||
waitForIdle()
|
||||
onNodeWithTag(LOCAL_FILE_TRANSFER_MENU_BUTTON_TESTING_TAG).assertIsDisplayed()
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
fun clickFileTransferIcon(
|
||||
|
Loading…
x
Reference in New Issue
Block a user