title: Test tabbar badge via Xcode UI XCTests in iOS
body: <p>How to check that tabbar badge (<code>tabBarItem.badgeValue</code>) contains correct number in <code>XCTests</code>?</p>
  
  <p><a href="https://i.stack.imgur.com/xhzBP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xhzBP.png" alt="enter image description here"></a></p>
  
  <p>I can see target tabbar button in Accessibility Inspector, but badge element isn't inspectable.</p>