mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-08-04 03:06:41 -04:00
lint fix
This commit is contained in:
parent
749dcf2031
commit
b9f9667fad
@ -44,7 +44,7 @@ class KiwixSettingsFragmentTest {
|
|||||||
GrantPermissionRule.grant(Manifest.permission.WRITE_EXTERNAL_STORAGE)
|
GrantPermissionRule.grant(Manifest.permission.WRITE_EXTERNAL_STORAGE)
|
||||||
|
|
||||||
@Before fun setup() {
|
@Before fun setup() {
|
||||||
//Go to IntroFragment
|
// Go to IntroFragment
|
||||||
UiThreadStatement.runOnUiThread { activityTestRule.activity.navigate(R.id.introFragment) }
|
UiThreadStatement.runOnUiThread { activityTestRule.activity.navigate(R.id.introFragment) }
|
||||||
intro(IntroRobot::swipeLeft) clickGetStarted { }
|
intro(IntroRobot::swipeLeft) clickGetStarted { }
|
||||||
StandardActions.openDrawer()
|
StandardActions.openDrawer()
|
||||||
@ -64,7 +64,7 @@ class KiwixSettingsFragmentTest {
|
|||||||
toggleExternalLinkWarningPref()
|
toggleExternalLinkWarningPref()
|
||||||
toggleWifiDownloadsOnlyPref()
|
toggleWifiDownloadsOnlyPref()
|
||||||
clickStoragePreference()
|
clickStoragePreference()
|
||||||
//Let's pause here for a moment because calculating storage takes some time
|
// Let's pause here for a moment because calculating storage takes some time
|
||||||
BaristaSleepInteractions.sleep(TEST_PAUSE_MS.toLong())
|
BaristaSleepInteractions.sleep(TEST_PAUSE_MS.toLong())
|
||||||
assertStorageDialogDisplayed()
|
assertStorageDialogDisplayed()
|
||||||
dismissDialog()
|
dismissDialog()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user