This was posted by @izakfilmalter and it is (in my opinion) a great set of tests to perform prior to releasing an app that uses Notifee, or ideally by Notifee as part of e2e / integration test suite
It seems to me that there is not a thorough testing process for releases. I have the following testing process for both iOS and Android which would be good to mirror at some level. I get the desire for automated testing, but every release I run into an issue with FCM + Notifee.
App Quit Test
Quit Open Test
Quit the app.
Trigger test notification.
Tap on notification.
App should open to the screen for the notification.
Background Open Test
Quit the app.
Trigger test notification.
Open the app, and dismiss it. The app must still be open in the background.
Tap on notification.
App should open to the screen for the notification.
Foreground Open Test
Quit the app.
Trigger test notification.
Open the app. The app must still be open in the foreground.
Tap on notification.
App should open to the screen for the notification.
App Background Test
Quit Open Test
Open the app, and dismiss it. The app must still be open in the background.
Trigger test notification.
Quit the app after the notification has displayed.
Tap on notification.
App should open to the screen for the notification.
Background Open Test
Open the app, and dismiss it. The app must still be open in the background.
Trigger test notification.
Tap on notification.
App should open to the screen for the notification.
Foreground Open Test
Open the app, and dismiss it. The app must still be open in the background.
Trigger test notification.
Quit the app after the notification has displayed.
Open the app. The app must still be open in the foreground.
Tap on notification.
App should open to the screen for the notification.
App Foreground Test
Quit Open Test
Open the app. The app must still be open in the foreground.
Trigger test notification.
Quit the app after the notification has displayed.
Tap on notification.
App should open to the screen for the notification.
Background Open Test
Open the app. The app must still be open in the foreground.
Trigger test notification.
Dismiss the app. The app must still be open in the background.
Tap on notification.
App should open to the screen for the notification.
Foreground Open Test
Open the app. The app must still be open in the foreground.
Trigger test notification.
Quit the app after the notification has displayed.
Open the app. The app must still be open in the foreground.
Tap on notification.
App should open to the screen for the notification.
This was posted by @izakfilmalter and it is (in my opinion) a great set of tests to perform prior to releasing an app that uses Notifee, or ideally by Notifee as part of e2e / integration test suite
It seems to me that there is not a thorough testing process for releases. I have the following testing process for both iOS and Android which would be good to mirror at some level. I get the desire for automated testing, but every release I run into an issue with FCM + Notifee.
Originally posted by @izakfilmalter in https://github.com/invertase/notifee/issues/621#issuecomment-1383115908