mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-09 15:27:55 -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"
|
private val zimFileTitle = "Test_Zim"
|
||||||
|
|
||||||
fun assertGetZimNearbyDeviceDisplayed(composeTestRule: ComposeContentTestRule) {
|
fun assertGetZimNearbyDeviceDisplayed(composeTestRule: ComposeContentTestRule) {
|
||||||
|
testFlakyView({
|
||||||
composeTestRule.apply {
|
composeTestRule.apply {
|
||||||
waitForIdle()
|
waitForIdle()
|
||||||
onNodeWithTag(LOCAL_FILE_TRANSFER_MENU_BUTTON_TESTING_TAG).assertIsDisplayed()
|
onNodeWithTag(LOCAL_FILE_TRANSFER_MENU_BUTTON_TESTING_TAG).assertIsDisplayed()
|
||||||
}
|
}
|
||||||
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
fun clickFileTransferIcon(
|
fun clickFileTransferIcon(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user