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
let editButton = app.toolbars["EditArticle.Toolbar"].buttons["Edit"]
Updated at 2020-11-04 10:02:29