tap on an iOS 27 tab bar item reports success but does nothing (automatic style uses FBSimulator tapAt; physical touch works)
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 64/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- ios, typescript
Hướng nghiên cứu
Start by reading the tap tool implementation and how it invokes bundled AXe, then check the batch tap step handling to see whether both paths share the same options. Reproduce the Settings tab case with the reported automatic and physical styles. Done when a tab tap selects the tab, or the caller can choose a style that does, and the tool reports failure if the UI remains unchanged.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Summary
On an iOS 27 simulator, tap on a tab bar item (SwiftUI TabView, the floating tab bar) returns SUCCEEDED, but the tab is not selected and the screen does not change. Running the bundled AXe directly shows why. Its default automatic tap style uses FBSimulator tapAt for anything that is not a switch or toggle, and that does not activate the tab. --tap-style physical (touch down and up) at the same resolved point does.
MobileBuildMCP's tap gives the caller no way to choose the style, so callers can't work around it.
Environment
- MobileBuildMCP: 2.7.1 (npm), with its bundled AXe 1.8.0
- macOS: 27.2 (26B123), Apple silicon
- Xcode: 27.2 (27B52)
- CoreSimulator: 1174.21
- Simulator: iPhone 17 Pro, iOS 27.2 runtime (24B8117)
Reproduction
The app is a SwiftUI app with a TabView of four tabs: Library, Search, Import, Settings.
-
Through MobileBuildMCP:
snapshot_uilists the tab ase59|tap|tab|Settings|0|shield.tapwithelementRef: "e59"returnsSUCCEEDED. A followingsnapshot_uihas the samescreenHash, and the Settings tab's value stays0. -
With the bundled AXe on the same booted simulator (
describe-uireports the tabs asRadioButtonelements):$ axe tap --label Settings --element-type RadioButton --tap-style simulator --udid <UDID> ✓ Tap at resolved tap point at (328.0, 822.0) completed successfully # tabs: Library=1 Search=0 Import=0 Settings=0 (unchanged) $ axe tap --label Settings --element-type RadioButton --tap-style physical --udid <UDID> ✓ Tap at resolved tap point at (328.0, 822.0) completed successfully # tabs: Library=0 Search=0 Import=0 Settings=1 (selected)The default style (
automatic) behaves likesimulatorhere. -
Control: on the same Mac and runtime, a default-style tap on a row in Apple's Settings app ("General") navigates as expected. So
tapAtworks in general, but not on this tab bar.
Expected
tap on a tab bar item selects it, or at least does not report success when nothing was activated.
Suggestions (either would unblock callers)
- Use the physical touch (down/up) for tab bar items in
automaticmode, as is already done for switches and toggles. - Add an optional tap style parameter to
tap(and tobatchtap steps), for exampletapStyle: "automatic" | "simulator" | "physical", passed through to AXe's--tap-style.
Context
We use MobileBuildMCP to run UI acceptance scenarios on simulators. Taps on tab bars worked for us on this Mac until about Nov 3, 2026, but we can't pin down what changed: the same AXe and MobileBuildMCP versions were in use throughout. Happy to test a build.
- Ngôn ngữ chính
- TypeScript
- Star
- 6.6k
- Fork
- 329
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của getsentry/MobileBuildMCP
-
bug
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
getsentry/MobileBuildMCP#576 ·
-
Warden weekly sweepĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
getsentry/MobileBuildMCP#495 ·
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 42/100
getsentry/MobileBuildMCP#577 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
getsentry/MobileBuildMCP#575 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 65/100
getsentry/MobileBuildMCP#573 ·
Tất cả issue của getsentry/MobileBuildMCP
Issue tương tự
-
sumHorizontal, maxHorizontal, minHorizontal, allHorizontal, anyHorizontal, struct and argSortBy treat strings as literals instead of column namesCó thể đã có người làm @tomaionescu đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
pola-rs/nodejs-polars#486 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
jaegertracing/jaeger-ui#4853 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area/plugins platform/linux reproduced type/bug version/v2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
anomalyco/opencode#66970 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area:tui enhancement platform:macos
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
anthropics/claude-code#112838 ·
-
Add: Sports First TV (US)Đang mởapproved check:passed streams:add
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày