Tests such as "verify that a push notification was displayed for a few seconds" are not currently supported. (Related card: Check if an element that disappears immediately has been displayed)
As a workaround, please consider implementing tests that verify whether push notifications appear in the notification center.
The notification center is displayed by swiping down from the top of the home screen.
The figure below illustrates the steps to display a notification center.
Limitations
iOS cloud devices cannot receive push notifications sent from a server, so push notification testing is not currently possible.
For more details, please refer to this help page.