I am trying to write a test case using the new UI Testing available in Xcode 7 beta 2. The App has a login screen where it makes a call to the server to login. There is a delay associated with this as it is an asynchronous operation.
Is there a way to cause a delay or wait mechanism in the XCTestCase before proceeding to further steps?
There is no proper documentation available and I went through the Header files of the classes. Was not able to find anything related to this.
Any ideas/suggestions?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…