[Bug]: ui-automation tap on an alert button's elementRef reports success but doesn't dismiss the alert
Dieses Issue hat noch niemand übernommen.
Bewertung
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Anfängerfreundlichkeit
- 65/100
- Issue-Typ
- Bug
- Klarheit
- Größtenteils klar
- Aktivitätsstatus
- Aktiv
- Tech-Stack
- ios, typescript
- Bereich
- mobile
Rechercherichtung
Start at the ui-automation tap handler and compare how it resolves a runtime-snapshot elementRef with the ui-automation touch path. Reproduce on an iOS 27 simulator using a SwiftUI alert with one button, then check that tap dismisses the alert and reports success.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Beschreibung
Bug Description
ui-automation tap on a runtime-snapshot elementRef for a button in an in-app alert (a SwiftUI .alert with a single "OK" or "Dismiss" button) reports success, but the alert stays on screen. The screen hash doesn't change after three attempts. ui-automation touch with the same elementRef and "down": true, "up": true dismisses the alert on the first try.
Debug Output
MobileBuildMCP doctor (redacted)
Server Version: 2.7.1
- xcode: ok (Xcode 27.2, Build version 27B52)
- axe: ok (Available: Yes; UI automation: Yes; Video capture: Yes)
- debugger-dap: ok (Selected backend: lldb-cli; lldb-dap available: Yes)
- runtime-registration: ok (Enabled workflows: debugging, doctor, project-discovery, session-management, simulator-management, simulator, ui-automation, utilities, xcode-ide)
- mise: warning (Running under mise: No; Available: No)
Editor/Client
Claude Code
MCP Server Version
2.7.1
LLM
Claude Opus 5.5
MCP Configuration
Default configuration. Tools invoked through the `mobilebuildmcp` CLI (`ui-automation snapshot-ui`, `ui-automation tap`, `ui-automation touch`) against a booted iOS 27 simulator.
Steps to Reproduce
- Launch an app on an iOS 27 simulator so that it presents an alert with a single "OK" (or "Dismiss") button.
- Run
ui-automation snapshot-uiand take the button'selementRef. - Run
ui-automation tapwith thatelementRef. - Run
ui-automation snapshot-uiagain.
Expected Behavior
A tap that reports success performs the tap: the alert's button is activated and the alert is dismissed.
Actual Behavior
tap reports SUCCEEDED, but the alert remains and the snapshot is unchanged, across 3 attempts. As a workaround, ui-automation touch --json '{"elementRef":"<ref>","down":true,"up":true}' dismisses the alert.
Error Messages
None: the tap command reports success.
- Vorherrschende Sprache
- TypeScript
- Sterne
- 6.6k
- Forks
- 329
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Entwicklungsumgebung
Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.
Erste Schritte
- Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
- Forken Sie das Repository und arbeiten Sie in einem Branch.
- Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.
Mehr aus getsentry/MobileBuildMCP
-
bug
Schwierigkeit 1/5 Unter einer Stunde Anfängerfreundlichkeit 88/100
getsentry/MobileBuildMCP#576 ·
-
Warden weekly sweepOffen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 70/100
getsentry/MobileBuildMCP#495 ·
-
Schwierigkeit 3/5 Ein halber Tag Anfängerfreundlichkeit 42/100
getsentry/MobileBuildMCP#577 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
getsentry/MobileBuildMCP#575 ·
-
Schwierigkeit 4/5 3-5 Tage Anfängerfreundlichkeit 48/100
getsentry/MobileBuildMCP#571 ·
Alle Issues in getsentry/MobileBuildMCP
Ähnliche Issues
-
sumHorizontal, maxHorizontal, minHorizontal, allHorizontal, anyHorizontal, struct and argSortBy treat strings as literals instead of column namesEvtl. vergeben @tomaionescu hat das heute übernommen. Offen
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 78/100
pola-rs/nodejs-polars#486 ·
Maintainer antworten meist innerhalb von 1 Tag
-
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 62/100
jaegertracing/jaeger-ui#4853 ·
Maintainer antworten meist innerhalb von 1 Tag
-
area/plugins platform/linux reproduced type/bug version/v2
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 72/100
anomalyco/opencode#66970 · 3 Kommentare ·
Maintainer antworten meist innerhalb von 1 Tag
-
area:tui enhancement platform:macos
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 68/100
anthropics/claude-code#112838 ·
-
approved check:passed streams:add
Schwierigkeit 2/5 1-3 Stunden Anfängerfreundlichkeit 66/100
Maintainer antworten meist innerhalb von 1 Tag