aboutsummaryrefslogtreecommitdiffstats
path: root/packages/meshbay-hub/tests/test_photo_sync_ui.py
diff options
context:
space:
mode:
Diffstat (limited to 'packages/meshbay-hub/tests/test_photo_sync_ui.py')
-rw-r--r--packages/meshbay-hub/tests/test_photo_sync_ui.py23
1 files changed, 22 insertions, 1 deletions
diff --git a/packages/meshbay-hub/tests/test_photo_sync_ui.py b/packages/meshbay-hub/tests/test_photo_sync_ui.py
index b101310..da0ceeb 100644
--- a/packages/meshbay-hub/tests/test_photo_sync_ui.py
+++ b/packages/meshbay-hub/tests/test_photo_sync_ui.py
@@ -57,7 +57,7 @@ def test_limited_access_is_said_rather_than_failing_quietly(probe):
def test_where_backups_go_lists_each_kinds_folder(probe):
text = probe["dest360"]["text"]
- assert all(f"Media/bob-{k}" in text for k in ("photos", "contacts", "messages"))
+ assert all(f"Media/bob-{k}" in text for k in ("photos", "contacts", "calendar", "messages", "drive", "whatsapp"))
def test_photos_the_photos_tab_will_not_show_are_said(probe):
@@ -70,3 +70,24 @@ def test_the_contacts_backup_says_where_its_copies_go(probe):
def test_the_messages_backup_says_where_its_copies_go(probe):
assert "bob-messages/2026/sms-2026-10-10-0900.xml" in probe["configured360"]["text"]
+
+
+def test_the_calendar_backup_says_where_its_copies_go(probe):
+ assert "bob-calendar/calendar-2026-10-10-0900.ics" in probe["configured360"]["text"]
+
+
+def test_videos_are_offered_and_off_by_default(probe):
+ assert "Videos too" in probe["setup360"]["text"]
+ assert "Videos too" not in probe["setup360"]["checked"]
+
+
+def test_the_files_backup_lists_its_folders_and_what_it_leaves_out(probe):
+ text = probe["configured360"]["text"]
+ assert "Documents" in text and "Scans_from_the_office_printer" in text
+ assert "DCIM, Pictures and Movies cannot be chosen" in text
+
+
+def test_the_whatsapp_backup_says_how_to_restore(probe):
+ text = probe["configured360"]["text"]
+ assert "WhatsApp's folder is chosen" in text
+ assert "To restore on a new phone" in text