Closed Bug 1138946 Opened 10 years ago Closed 6 years ago

Backup and restore config files for software update tests

Categories

(Testing :: Firefox UI Tests, defect, P2)

defect

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: bsilverberg, Unassigned)

References

Details

As discussed in yesterday's meeting, we currently cache the contents of config files (such as update-settings.ini and channel-prefs.js) before changing them, and then restore them by writing those cached contents back to the file. Rather than doing that, this bug suggests that we simply make a local backup of the file before changing it, and then restore the entire file from that backup at the end of the test.
This doesn't block the initial version of update tests and can be done afterward.
No longer blocks: 1129843
Depends on: 1129843
Priority: P1 → P2
Product: Mozilla QA → Testing
We stopped running update tests and as such any work on those tests.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.