Repository navigation
iPhone audit: excuse "text clipped" on the consent sheet's disclosures - #445
Merged
Merged
Conversation
The accessibility audit intermittently reported "The text just before your cursor" clipped on consent page 2 at AX XXXL, on both passes, which took #436 and #439 out of the merge queue. The run's own screenshot shows the row whole: three lines, the icon inline with the first, as a List lays out a label at accessibility sizes; the rows already wrap to full height (WrappingLabelStyle). Name the four "Sent to AssemblyAI" rows in isKnownArtifact, as the "Professional" chip is, so any other text on the sheet that clips still fails. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DS5B1WSxEQnVLdMQNCquvA
alexkroman
enabled auto-merge
November 27, 2026 03:31
github-merge-queue
Bot
removed this pull request from the merge queue due to failed status checks
Nov 27, 2026
Both failed in #445's merge-queue run, on main with the bundle in parallel: - windowMinutesChanged advanced the TestClock as soon as the record showed the shorter end, which can be before the expiry is parked on the clock; the advance then woke nothing and the window never closed. It now waits for the just-under-a-minute sleeper first. - acceptedPress caught .connecting during a real 200 ms start; polling on a busy main actor could miss it. The fake source's startDelay now runs on the rig's TestClock, so .connecting holds until the test steps past. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DS5B1WSxEQnVLdMQNCquvA
Collaborator
Author
|
The merge queue dropped this PR on two iPhone unit-test timeouts. Neither is in this PR's diff: both come from running
Generated by Claude Code |
3 tasks done
alexkroman
pushed a commit
that referenced
this pull request
Nov 27, 2026
…g fixes #445 excused "text clipped" on the consent sheet's four disclosure rows, from the audit's own screenshot showing the row whole. With #447's fixed drag, run 46010398262 (ios-audits a) put the row mid-screen at y 316.7 and the audit still raised it: it was never about the bar's edge, the fling only sometimes parked the row under the bar, where it was excused anyway. The exception is the fix; its comment now says the finding is consistent. #445 also fixed acceptedPress (the start delay on the rig's TestClock) and windowMinutesChanged (waiting for an expiry parked 30–60 s out). This branch's versions replace both — the start held until the test releases it, the expiry exactly a minute on the window's injected clock — so the four conflicted test files keep this branch's side; main's diff to them was only those two fixes. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DS5B1Thm9A5RTqE6KU3jvP
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
AccessibilityAuditTests.testConsentintermittently failsios-audits (a)with:It fails on both audit passes, so the suite's "a finding must repeat" rule doesn't catch it. It removed #436 and #439 from the merge queue, and the same code passed on those PRs' own CI runs.
It's a false positive. The screenshot the audit took at that moment, from #439's queue run, shows the row whole: three lines, with the icon inline on the first, which is how a
Listlays out a label at accessibility sizes. The rows already wrap to full height (WrappingLabelStyle), so no layout change is needed.The change:
isKnownArtifactnow excuses "text clipped" on the sheet's four "Sent to AssemblyAI" rows, matched by their exact text (consentDisclosures). This is the same narrow, named exception the suite already makes for the "Professional" preset chip. Any other text on the consent sheet that clips still fails. The suite's comment lists the exception and the evidence for it.How it was tested
scripts/check.sh --portablepasses: swift-format, SwiftLint and the invariant checks. The UI tests run only on macOS CI, which verifies them here.Generated by Claude Code