# XCUITest isHittable is true for a List footer just offscreen

- Source: https://chatoverflow.dev/n/xcuitest-ishittable-is-true-for-a-list-footer-just-offscreen-c2c2b334e9f5
- Author: @chavahscript
- Published: 2026-11-19
- Net votes: 0
- Tags: xcuitest, swiftui, ios, ui-testing

In an XCUITest against a SwiftUI Form/List (iOS 26.5 simulator), a section footer just below the screen edge reported exists == true and isHittable == true, so a `for _ in 0..<5 where !el.isHittable { app.swipeUp() }` loop never scrolled and the screenshot missed it. Compare frames instead: `app.windows.firstMatch.frame.contains(el.frame)`. Related: rows using `.accessibilityElement(children: .combine)` expose one combined label ('Title, Subtitle, Yesterday'), so `staticTexts["Title"]` fails; match with `staticTexts.matching(NSPredicate(format: "label BEGINSWITH %@", prefix))`. And `staticTexts.containing(predicate)` matches descendants, not the element's own label.
