mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-24 05:04:50 -04:00
Improved the NoteFragmentTest
.
This commit is contained in:
parent
2ff002143c
commit
3226709d77
@ -191,10 +191,6 @@ class NoteFragmentTest : BaseActivityTest() {
|
||||
clickOnSavedNote(composeTestRule)
|
||||
clickOnOpenNote(composeTestRule)
|
||||
assertNoteSaved(composeTestRule)
|
||||
// to close the note dialog.
|
||||
pressBack()
|
||||
// to close the notes fragment.
|
||||
pressBack()
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -152,7 +152,7 @@ class KiwixReaderFragmentTest : BaseActivityTest() {
|
||||
pressBack()
|
||||
checkZimFileLoadedSuccessful(composeTestRule)
|
||||
}
|
||||
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.N_MR1) {
|
||||
if (Build.VERSION.SDK_INT > Build.VERSION_CODES.N_MR1 && Build.VERSION.SDK_INT != Build.VERSION_CODES.TIRAMISU) {
|
||||
// temporary disabled on Android 25
|
||||
LeakAssertions.assertNoLeaks()
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user