Skip to content

test: accept the iOS 27 "Start Sharing" broadcast label - #36

Merged
Timo972 merged 1 commit into
masterfrom
timo/dro-3151-ios27-start-sharing-label
Sep 25, 2026
Merged

Timo972 merged 1 commit into
masterfrom
timo/dro-3151-ios27-start-sharing-label

Conversation

@Timo972

@Timo972 Timo972 commented Sep 25, 2026

Copy link
Copy Markdown

Follow-up to #35.

Problem

FBBroadcastLabelsTests testStartBroadcastLabelCoversNonEnglishLanguages fails on the Xcode 27 / iOS 27 simulator (iPhone_Unit_Test_Max_Xcode).

iOS 27 keeps ReplayKit's CONTROL_CENTER_START_BROADCAST key but renames its text:

Language iOS 26 iOS 27
English Start Broadcast Start Sharing
German Übertragung starten Jetzt teilen
Chinese (Simplified) 开始直播 开始共享

The key-based lookup from #35 already resolves the new labels. Only the test was wrong, because it asserted the iOS 26 text.

Change

  • The test now accepts either iOS version's label.
  • "Start Sharing" is added to the English last-resort labels, which are used only if the key is ever missing.
  • The comments and docs/broadcast-extension.md note the rename.

Testing

  • FBBroadcastLabelsTests passes on the iOS 27.0 and iOS 26.5 simulators.
  • WebDriverAgentLib builds for generic/platform=iOS with no new warnings.

🤖 Generated with Claude Code

iOS 27 keeps ReplayKit's CONTROL_CENTER_START_BROADCAST key but renames its
text from "Start Broadcast" to "Start Sharing" (German "Jetzt teilen"). The
key-based lookup already resolves the new labels; the unit test asserted the
old iOS 26 text and failed on the Xcode 27 simulator. Also add "Start
Sharing" to the English last-resort labels.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
@Timo972
Timo972 merged commit 9b04950 into master Sep 25, 2026
41 of 50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants