Update storage path in tests to reflect user-accessible external storage and change button label to "Save Config".

This commit is contained in:
2025-09-28 15:51:05 -05:00
parent 57c6b8ce3d
commit c0f60d52db
2 changed files with 2 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ class TestStorageManager:
):
storage = StorageManager()
storage._storage_dir = storage._get_storage_directory()
expected_dir = Path("/data/data/com.ren_browser/files")
expected_dir = Path("/storage/emulated/0/Documents/ren_browser")
assert storage._storage_dir == expected_dir
def test_get_config_path(self):

View File

@@ -136,7 +136,7 @@ class TestOpenSettingsTab:
for sub_control in control.controls:
if (
hasattr(sub_control, "text")
and sub_control.text == "Save and Restart"
and sub_control.text == "Save Config"
):
save_btn = sub_control
break