AmazeFileManager icon indicating copy to clipboard operation
AmazeFileManager copied to clipboard

Fix BackupPrefsFragmentTest path

Open EmmanuelMess opened this issue 7 months ago • 1 comments

it seems that the test hardcoded path might not exist in the emulator.

EmmanuelMess avatar May 21 '25 23:05 EmmanuelMess

@VishnuSanal I'm thinking that the Espresso test should only test the interface part of the operation, not the actual preference loading, that would prevent needing to get the actual home path from fragment from the activity from the intent. And then we can test the actual behaviour from Robolectric. This also reduces the amount of emulator time somewhat.

EmmanuelMess avatar May 29 '25 14:05 EmmanuelMess