google/EarlGrey

Is there any way to test Search from iOS's main screen?

impvd opened this issue · 1 comments

impvd commented

Most of the tutorials I found about XCTest or EarlGrey were about doing UI testing inside the app.

I am curious if we could write a UI test case that would come across the Search of iOS's main screen, like type a word watch in it:
image

And click the Chrome result from it:
image

You can use the XCUITest API's to go there, swipe up and search in the spotlight bar. This isn't necessarily EarlGrey related.