title: SwiftUI, test existence of the Title on the TabView
body: <p>I am trying to write a simple automotive test that navigates to the appropriate Tab and checks if the title of it matches. I am not sure how to query the title, I've tried some options but I struggle to find it.</p>
  <pre class="lang-swift prettyprint-override"><code>func testLocationListViewTitleIsGrubSpots() {
          let app = XCUIApplication()
          app.launch()
          
          let locationListTabBarButton = app.tabBars.buttons.element(boundBy: 1)
          locationListTabBarButton.tap()
          
          let title = app.tabBars???
          
          XCTAssertEqual(title, &quot;Abc&quot;)
      }
  </code></pre>
  <p>Thank you for the help.</p>