You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
Repository navigation
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
We should replace the KIF-based iOS SDK functional tests with similar tests based on XCUITest. The KIF tests have long suffered from unreliability such as #2734. Random failures forced us to disable tests one by one (e.g., #2734, #2769, and #3555) until we finally removed the entire suite from CI in #4594. We’ve had good results so far with the non-UI unit tests added to OS X in #3406 and to iOS in #4641. Hopefully XCUITest will be similarly reliable due to its tighter system integration.
Thanks to improvements in the build system in #4641, it’s quite easy to add a UI test bundle to the iOS project. We can replicate the gesture tests using -[XCUICoordinate pressForDuration:thenDragToCoordinate:] and some UILabels that we continuously update with the map view’s current state. XCUITest operates on accessibility elements, whereas our existing annotation-related tests rely on access to the actual MGLMapView object, so converting them is blocked by #1496.
Activity
friedbunny commentedon May 25, 2018
Though not utilizing
XCUITest, #10873 added integration tests that cover this goal.