How to automatically recognize system alerts using the KIF test?

I use KIF to test the user interface for continuous integration. When the application is the first launch on the device (or iOS Simulator ), the system will display some security warnings. How can KIF automatically recognize system alerts to prevent a test from failing?

+6
source share
1 answer

The best way is to use [tester acknowledgeSystemAlert] . He will click the last button in the system warning :)

See this github thread for more information.

+6
source

Source: https://habr.com/ru/post/986493/


All Articles