Commit graph

3 commits

Author SHA1 Message Date
Johannes Millan
a37d0eac4f fix(e2e): resolve flaky WebDAV tests and fix encryption test failures
- 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
2026-01-28 21:55:04 +01:00
Johannes Millan
a1c9b7cb93 feat(sync): make encryption actions explicit 2026-01-27 19:45:15 +01:00
Johannes Millan
d67d340f0e feat(sync): add encryption disable flow for file-based providers
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.
2026-01-27 17:59:57 +01:00