mirror of
https://github.com/Instagram/IGListKit
synced 2026-04-28 17:08:13 +00:00
Summary: During testing, I noticed some of the UI tests would hang, and the runner would spin for hours. I'm not sure if this was due to any code changes I made to the sample apps, or if it was just a general change in Xcode 15, but I discovered that some of the UI tests were using a for loop to 'flick' the screen until a UI element came on screen. For whatever reason, the for loop exit condition stopped working, and so now the test was stuck in an infinite loop. This diff changes the exit condition so it properly works now, and also adds a maximum number of allowed 'flicks' just to absolutely guarantee an infinite loop isn't possible. Reviewed By: fethica Differential Revision: D50294913 fbshipit-source-id: 77b789e45cc935735b13192843aa80f512dbd7d8 |
||
|---|---|---|
| .. | ||
| DemosViewControllerUITests.swift | ||
| Info.plist | ||
| LoadMoreViewControllerUITests.swift | ||
| MixedDataViewControllerUITests.swift | ||
| SearchViewControllerUITests.swift | ||
| UITestCase.swift | ||