I am trying to dismiss the search field by tapping \'Cancel\' button in search bar.
The test case is failing to find the cancel button. It was working fine in Xcode
Please check the trait of the element, i was facing the same issue with TableViewSectionHeader, i was trying to tap but it was failing at every point
In my case it was having a programmatically added UI element covering the button.