Get a link to the current Xcode UI Unit test view controller

I watched a WWDC video on testing Xcode UI modules and am trying to incorporate it into my application.

In a specific scene of my application, when the user clicks the button, the application performs some logic. Based on the result of this logic, the VK deviates or remains. I would like to run a user interface test to ensure that the VC will be fired or will remain based on known inputs. How to get a link to the current display view controller, although XCElementQuery?

+5
source share

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


All Articles