Test Case PR1-B005-TC08 — Corrupted UserDefaults priority data is handled gracefully on app launch
| Field |
Value |
| Priority |
P1 |
| Behavior |
PR1-B005 |
| Type |
error_state |
| PR of origin |
#1 |
Preconditions
- App is installed
- At least one todo exists with a valid priority saved in UserDefaults
Steps
- Using a device file manager or debug tool, manually corrupt the priority field in the UserDefaults plist for an existing todo (e.g., set it to an unexpected string or invalid type)
- Launch the app
- Navigate to the todo list
- Observe the affected todo item
Expected Result
The app does not crash. The affected todo is either shown with a safe fallback/default priority or displays an appropriate error state. Other todos with valid data are unaffected.
Filed automatically by TIP M3 pipeline. Pool entry: harness/test-cases/. TC ID: PR1-B005-TC08.
Test Case
PR1-B005-TC08— Corrupted UserDefaults priority data is handled gracefully on app launchPR1-B005Preconditions
Steps
Expected Result
The app does not crash. The affected todo is either shown with a safe fallback/default priority or displays an appropriate error state. Other todos with valid data are unaffected.
Filed automatically by TIP M3 pipeline. Pool entry:
harness/test-cases/. TC ID:PR1-B005-TC08.