Closed huming closed 7 years ago
Hello @huming, thank you for submitting this issue. Would you be able to submit a PR to address it?
cc @DagAgren
hi, LappleApple, thanks for your response. What is PR?
@huming pull request
I did a research on this issue and what I have found is that it only concerns the SwiftMonkeyExample
and it has no relation with the SwiftMonkey
framework. Most probably the source of the problem is a bug in XCTest.
The UI tests are failing with an assertion Failed to get snapshot within 15.0s
. This error has been already reported:
In case of the SwiftMonkeyExample
target, the problem is caused by the Switches! section of the table view. It seems that the current configuration (4 rows with 5 UISwitch
elements each) is too complicated for the snapshot creation to finish within 15 seconds. However I did observe that using 10 rows with 4 elements configuration will work just fine without producing the assert.
I've created a pull request (https://github.com/zalando/SwiftMonkey/pull/31) that addresses this issue.
SwiftMonkeyExample build success, but run test shows build failed. I upgrade Xcode from 7.3 to 8.3. I Before it can works. So anybody know why?
Other build failed have not error detail.