- Add closeContextsSafely helper to handle Playwright trace file race conditions
during browser context cleanup (fixes ENOENT errors on test retry)
- Fix enableEncryption method to properly handle dialog-based encryption flow
- Fix disableEncryptionForFileBased method: remove unnecessary expandAdvancedSettings,
fix selector to match actual CSS class (.e2e-disable-encryption-btn)
- Update 5 test files to use closeContextsSafely for robust cleanup
Add "Remove Encryption" functionality for file-based sync providers
(WebDAV, Dropbox, LocalFile). Users can now disable encryption,
converting synced data to unencrypted format.
Changes:
- Add disableEncryptionForFileBased() method to EncryptionDisableService
- Add "Remove Encryption" button to file-based provider forms
- Add disable-only mode to change password dialog for file-based
- Add unit tests for the new disable flow
- Add E2E test (webdav-encryption-disable.spec.ts) validating full flow
- Extend sync.page.ts with encryption enable/disable helpers
The flow: user clicks Remove Encryption → confirmation dialog →
upload unencrypted snapshot → clear local encryption config.