How to avoid multiple match elements in UITests from iOS 13
Issue #691
Supposed we want to present a ViewController, and there exist both UIToolbar
in both the presenting and presented view controllers.
From iOS 13, the model style is not full screen and interactive. From UITests perspective there are 2 UIToolbar, we need to specify the correct one to avoid multiple match errors
1 | let editButton = app.toolbars["EditArticle.Toolbar"].buttons["Edit"] |
Updated at 2020-11-04 10:02:29