skill-level: medior
status: done
Task: Test Notification Flow
End Goal
End-to-end validation that the notification system works correctly across all scenarios and platforms.
Currently
- Implementation and review are complete
- No end-to-end testing has been performed
Should
- Push notifications are received on iOS devices
- Push notifications are received on Android devices
- Batching works correctly (30-second window)
- Deep linking navigates to correct content
- Preferences are respected
- In-app inbox displays all notifications
Constraints
- [ ] Test on physical devices (emulators may not receive FCM)
- [ ] Test both staging and production environments
- [ ] Verify multi-device scenarios
- [ ] Test with notification preferences disabled
Acceptance Criteria
- [ ] iOS device receives push notification for shopping item add
- [ ] Android device receives push notification for shopping item add
- [ ] Multiple items added quickly result in batched notification
- [ ] Notification tap navigates to correct shopping list
- [ ] Disabled preferences prevent push notification
- [ ] Inbox shows notification with correct read/unread state
- [ ] Unread badge updates correctly
Implementation Checklist
- [x] 9.1 Test iOS push notification reception
- [x] 9.2 Test Android push notification reception
- [x] 9.3 Test notification batching (add 5 items within 30 seconds)
- [x] 9.4 Test deep link to shopping list (foreground tap)
- [x] 9.5 Test deep link to shopping list (background tap)
- [x] 9.6 Test deep link to shopping list (app terminated)
- [x] 9.7 Test with shopping notifications disabled
- [x] 9.8 Test with global notifications disabled
- [x] 9.9 Test multi-device notification (2 devices, same user)
- [x] 9.10 Test inbox read/unread state changes
- [x] 9.11 Test unread badge count accuracy
- [x] 9.12 Document any issues found and fixes applied
Notes
- Use separate test accounts for actor vs recipient testing
- Firebase Console can send test FCM messages for debugging
- Cloud Function logs show dispatch details
Reacties