Closed
Bug 1886614
Opened 4 months ago
Closed 2 months ago
Write a Marionette test that ensures that all expected data stores are copied to the staging folder on `BackupService.createBackup`
Categories
(Firefox :: Profile Backup, task, P3)
Firefox
Profile Backup
Tracking
()
RESOLVED
FIXED
127 Branch
Tracking | Status | |
---|---|---|
firefox127 | --- | fixed |
People
(Reporter: mconley, Assigned: mconley)
References
Details
(Whiteboard: [fidefe-device-migration])
Attachments
(1 file)
Unlike our existing tests, this will be an end-to-end Marionette test that will be using the full suite of default BackupResource
classes. The test should call createBackup
, and once that Promise resolves, ensure that the expected set of items appears in the backup
folder.
Updated•4 months ago
|
Assignee | ||
Updated•3 months ago
|
Assignee: nobody → mconley
Assignee | ||
Comment 1•3 months ago
|
||
This test can be run via:
./mach marionette-test browser/components/backup/test/marionette/test_backup.py
This also makes it so that BackupResource.copySqliteDatabases does not throw if
one of the passed in database files doesn't exist - it'll just ignore it and
move on. This required me to update some tests in order to create some fake
SQLite databases to ensure that the fake Sqlite connection was made and the
backup stub was called for the SQLite databases being copied.
Pushed by mconley@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f6bc535dedad Write a marionette test for the BackupService.createBackup method. r=backup-reviewers,kpatenio
Comment 3•2 months ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 2 months ago
status-firefox127:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•