MohitMaliFtechiz
2041069838
Improved the DownloadTest, and LocalFileTransferTest.
2024-10-05 16:49:48 +00:00
MohitMaliFtechiz
e9154cdace
Improved the DownloadTest to download the smallest ZIM file, as it was previously downloading a 156MB file, which took too much time.
2024-10-05 16:49:48 +00:00
MohitMaliFtechiz
3c8b39058e
Improved the clicking on "Got it" button.
2024-10-05 16:49:48 +00:00
MohitMaliFtechiz
7d6984d251
Improved the DownloadTest
, InitialDownloadTest
. Also, improved the testing of scanning the ZIM files.
2024-10-05 16:49:48 +00:00
MohitMaliFtechiz
2521cd8990
Improved the clicking on showcase dismiss button.
2024-10-05 16:49:48 +00:00
MohitMaliFtechiz
e80a89670e
Improved the DownloadTest to fail if ZIM file is not downloaded.
2024-10-05 16:49:48 +00:00
MohitMaliFtechiz
8dc75c5f1c
Improved the click on "Got it" button in test case.
2024-10-05 16:49:48 +00:00
MohitMaliFtechiz
100d2d11b4
Refactored the LocalFileTransferTest
to properly work with Android 33 emulator.
2024-10-05 16:49:48 +00:00
MohitMaliFtechiz
3f066d4fa3
Added log to verify the CI behaviour.
2024-10-05 16:49:48 +00:00
MohitMaliFtechiz
15435a0a5d
Correctly handled the exception when refreshing the local library data.
2024-10-05 16:49:48 +00:00
MohitMaliFtechiz
a70abc3590
Fixed: CI stuck in emulators when refreshing the local library data.
2024-10-05 16:49:48 +00:00
MohitMaliFtechiz
8c4e402aca
Fixed: CI sometimes stuck on instrumentation test cases.
...
* Fixed the `LocalFileTransferTest`, which was failing on API level 33 in the CI.
2024-10-05 16:49:48 +00:00
Kelson
b5bd979ecb
Merge pull request #4018 from kiwix/translatewiki
...
Localisation updates from https://translatewiki.net .
2024-10-05 16:49:33 +00:00
translatewiki.net
374aea08e5
Localisation updates from https://translatewiki.net .
2024-10-03 14:06:43 +02:00
Kelson
38400dfa2e
Merge pull request #3998 from kiwix/Fixes#3991
...
Fixed: The UI showing incorrect colors in night mode.
2024-10-01 13:16:51 +00:00
MohitMaliFtechiz
2b796b0847
Fixed an issue where the CI was sometimes failing due to an unknown reason related to the OverflowMenuButton (the three-dot default Android button) width.
2024-10-01 18:09:22 +05:30
MohitMaliFtechiz
a1bad811c6
Setting the default visibility to gone of progressBarLayout.
2024-10-01 11:59:40 +00:00
MohitMaliFtechiz
c4d8f1b2ea
Fixed: The UI showing incorrect colors in night mode.
2024-10-01 11:59:40 +00:00
Kelson
701c9c1f08
Merge pull request #4010 from kiwix/remove_restriction_popup_from_ps_variant
...
Removed the restriction popup from PS variant which was showing at start.
2024-10-01 11:59:18 +00:00
MohitMaliFtechiz
f9a6323b27
Removed the message from help screen.
...
* Refactored the HelpFragmentTest.
2024-10-01 14:44:06 +05:30
MohitMaliFtechiz
e1a25e3b9b
Removed the entire restriction message from the help screen and replaced with instructions on how the user can open an existing ZIM file.
2024-10-01 13:30:57 +05:30
MohitMaliFtechiz
e060166bf5
Removed the unused code from project.
2024-10-01 12:21:17 +05:30
MohitMaliFtechiz
081fc6b207
Removed the restriction popup from start in PS variant.
...
* Since now we have a way to load the sideloaded zim files in application so this popup does not make sense. Therefore, we are removing this.
2024-10-01 12:00:47 +05:30
Kelson
97dc7baaa8
Merge pull request #4006 from kiwix/Fix#3941
...
Fixed: Opening the zim file with kiwix fails to open(not showing the copy/move dialog).
2024-10-01 06:23:22 +00:00
MohitMaliFtechiz
05eecc2218
Refactored the CI to run test cases in separate jobs, as the emulator would sometimes shut down when running multiple test cases in sequence. Previously, we were executing all tests within a single job, which significantly increased the CI execution time. Additionally, there were occasional "insufficient storage" errors in the emulator when reaching the final stages of the CI.
2024-10-01 10:55:16 +05:30
MohitMaliFtechiz
d575ae426b
Fixed: SaveSearchToRecentsTest
, DeleteRecentSearchTest
test which sometimes failing on CI.
2024-09-30 23:07:18 +05:30
MohitMaliFtechiz
81109c4a49
Removing the temporary files of test cases from storage to free up storage.
2024-09-30 23:07:18 +05:30
MohitMaliFtechiz
4339608132
Running tablet job after all the mobile jobs are completed.
2024-09-30 23:07:18 +05:30
MohitMaliFtechiz
a2a654b212
We have lowered the RAM of the emulator for some test cases since they do not require much memory. As a result, we downgraded the RAM for these specific CI environments.
2024-09-30 23:07:18 +05:30
MohitMaliFtechiz
0c092da015
Improved the OpeningFilesFromStorageTest, EncodedUrlTest.
2024-09-30 23:07:18 +05:30
MohitMaliFtechiz
2c613620e6
Testing on pixel_c
profile instead of pixel_tablet
.
2024-09-30 23:07:18 +05:30
MohitMaliFtechiz
9fadeff0cc
Testing file opening from browser, file manager, and via file piker on tablet in CI.
2024-09-30 23:07:18 +05:30
MohitMaliFtechiz
968cbfa19a
Added test cases to test opening files from browsers.
2024-09-30 23:07:18 +05:30
MohitMaliFtechiz
c6ff46a669
Added a test case to verify file opening from the file manager.
...
* Improved the test case to remove the file from the emulator to free up device storage, as we do not have access to this file after running the test case, and it will remain in storage.
2024-09-30 23:07:18 +05:30
MohitMaliFtechiz
c3e9426bfb
Added the test cases to open the zim file via file picker.
2024-09-30 23:07:18 +05:30
MohitMaliFtechiz
6a8013177f
Improved the opening of ZIM files via deep linking for the file scheme.
2024-09-30 23:07:18 +05:30
MohitMaliFtechiz
e68bb97fcb
Fixed testMovingZimFileIntoPublicDirectory
.
2024-09-30 23:07:18 +05:30
MohitMaliFtechiz
0d4a8a961b
Improved the CopyMoveFileHandlerTest
UI test.
2024-09-30 23:07:18 +05:30
MohitMaliFtechiz
a968e380e8
Improved the CopyMoveFileHandlerTest
.
2024-09-30 23:07:18 +05:30
MohitMaliFtechiz
c570fc918a
Fixed: ZIM file not moving/Copying on Android 14 tablet.
...
* When opening the ZIM file via file picker or deep linking, we were obtaining the file path using the getZimFileFromUri() method to perform the renaming for the move functionality. However, on Android 14 tablets, the URI was not resolved correctly by this method, leading to a "ZIM file not found" error.
* To fix this issue, we removed the dependency on the `getZimFileFromUri()` method in the Play Store variant, as future Android versions may handle URIs differently. We refactored our code so that the copy/move functionality works independently of this method and now works directly with Android's provided URI.
2024-09-30 23:07:18 +05:30
MohitMaliFtechiz
f0d928e9d2
Fixed: Opening the zim file with kiwix fails to open(not showing the copy/move dialog).
...
* The issue occurred because the logic for opening ZIM files was inside the KiwixReaderFragment, and if the user was on any other screen while using the application, this code was not triggered. As a result, the copy/move dialog was not shown. To resolve this, we moved the functionality to the KiwixMainActivity.
2024-09-30 23:07:18 +05:30
Kelson
a9599787bc
Merge pull request #3995 from kiwix/translatewiki
...
Localisation updates from https://translatewiki.net .
2024-09-30 16:07:09 +00:00
translatewiki.net
fa9f76d017
Localisation updates from https://translatewiki.net .
2024-09-30 14:06:57 +02:00
Kelson
7e6e82684d
Merge pull request #3999 from kiwix/Fixes#3997
...
Fixed: Opening with Kiwix a ZIM file (just after download) from Firefox fails.
2024-09-21 07:04:51 +00:00
MohitMaliFtechiz
7078aad77a
We improved the DeppLinksTest to test this functionality, so that we can avoid this type of error in the future.
2024-09-20 22:22:35 +05:30
MohitMaliFtechiz
4e86558b0e
Fixed: Opening with Kiwix a ZIM file (just after download) from Firefox fails.
...
* Fixed an issue where the ZIM file would not load when opened directly from the file manager.
* Fixed the issue with opening a ZIM file from the browser's download screen.
2024-09-20 21:45:17 +05:30
Kelson
007e12c349
Merge pull request #3994 from kiwix/Fixes#3991
...
Fixed: Online library cannot be retrieved in the Play Store variant.
2024-09-19 09:43:50 +00:00
MohitMaliFtechiz
b3cff85921
Refactored the UI test cases according to this new change.
2024-09-19 11:32:33 +05:30
MohitMaliFtechiz
386a93699b
Hiding the refresh layout when no internet connection is available.
...
* Hiding the "No internet connection" text when user turn on the internet and previous this text is showing.
2024-09-19 11:11:58 +05:30
MohitMaliFtechiz
61661a5aa0
Fixed: Showing the progress update when no wifi is available.
2024-09-18 22:02:20 +05:30