Checked in the simulator instead of on a device, as Bradley decided, on a build of main at 3e1e45a4 with a real vault. Screenshots are in ~/Library/Caches/vault-sprint2/qa/VAULT-15/ on the Mac Studio.
Results:
- Save to Files: pass.
- Saving to On My iPhone showed "Backup Saved", the file appeared on disk, and Last Backup updated, going from red to green.
- Cancelling the Files picker left Last Backup unchanged, and Done still showed the "leave without saving" warning.
- Print: pass. Xcode's Printer Simulator isn't installed, so a local AirPrint printer (
ippeveprinter) was used.- A sent job showed "Backup Saved" and Last Backup went from orange to green.
- Cancelling the print dialog left it unchanged, and the warning showed.
- A print counts once the job reaches the printer, even if the printer then fails it.
- Staleness colour: pass. It followed Last Backup from red and from orange to green.
- AirDrop and Mail: not coverable. The simulator's share sheet only offers Preview, Copy, Markup, Print and Save to Files.
- From the code, Mail should count once the message is queued, even if sending fails later.
- AirDrop should count once the transfer finishes.
Found, and filed:
- VAULT-62 (this sprint):
- Copy counts as a backup. It shows "Backup Saved" with nothing saved, and puts the encrypted backup on the pasteboard.
- Saving through Markup isn't recorded. Markup's "Save File To" saves a real backup, but the app says it isn't saved.
- Old backup PDFs pile up in
tmp/. - Two event dates look swapped.
- VAULT-63 (backlog): the Password Hint field starts filled with the default "This is my description…" text, which is printed on every PDF.
Not covered by the simulator:
- real AirDrop, Mail and Messages
- iCloud Drive
- paper output and offline printers
- third-party share extensions
- the iPad share sheet