diff --git a/app/src/androidTest/java/org/kiwix/kiwixmobile/download/DownloadTest.kt b/app/src/androidTest/java/org/kiwix/kiwixmobile/download/DownloadTest.kt index 853474bd6..f9533c500 100644 --- a/app/src/androidTest/java/org/kiwix/kiwixmobile/download/DownloadTest.kt +++ b/app/src/androidTest/java/org/kiwix/kiwixmobile/download/DownloadTest.kt @@ -140,6 +140,8 @@ class DownloadTest : BaseActivityTest() { stopDownloadIfAlreadyStarted() downloadZimFile(smallestZimFileIndex) try { + // Scroll to the top because now the downloading ZIM files are showing on the top. + scrollToZimFileIndex(0) assertDownloadStart() pauseDownload() assertDownloadPaused()