LocalStorage Persistence
8 min read
Test Persistence End to End
Test Persistence End to End
Use the browser to verify that persistence works through the full workflow.
- Add several tasks.
- Set different due dates and priorities.
- Complete one task.
- Edit another task.
- Delete a task.
- Reload the page.
- Confirm that the remaining tasks still have the correct details and states.
If something resets, find the operation that changed the task data and make sure it calls saveTasks() afterward.
Checkpoint: Refreshing the page no longer clears the application data.