Table of Contents
Supported Environments
Currently, push notification testing is not supported on iOS cloud devices.
| Cloud Environment | Local PC Environment | |
| Android | ◯ | ◯ |
| iOS | × | ◯ |
Since iOS cloud devices are simulators, they cannot receive push notifications sent from a server. If you need to test push notifications, please consider integrating MagicPod with an external cloud service that provides real devices, such as Sauce Labs or BrowserStack.
If you would like MagicPod to support push notifications on iOS simulators, please vote here. We can also propose automating your tests with the MagicPod AI Test Center. Please feel free to contact MagicPod Support for more information.
How to Implement
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.