Repository navigation
fix: 「色」ボタン化で壊れたiOSのUIテストを直す - #126
Merged
Merged
Conversation
The color tool became a dialog button in #115, so its "色" text is no longer exposed as a static text and the long-press check added in #123 could not find it. Long-press the document name under the heading instead, found by its position after the heading. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 7, 2026
Owner
Author
デプロイ確認
途中の このPRについてこのPRは iOS だけの変更なので、Pages の配信には影響しません。この run で iOS のジョブ( |
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.
原因
mainでtestEditorChromeIgnoresPageZoomAndTextSelection(iOSのUIテスト)が失敗する。#123で足したこのテストは、ツール列の「色」の静的テキストを「ラベル」として長押ししていた。#115で「色」は「記号の色」ダイアログを開くボタン(aria-label付き)になり、中の「色」の文字が読み上げに出なくなったため、要素が見つからない(143行目・166行目)。2つのPRは別々にはCIが通っていたが、両方がマージされたmainで壊れた(PR #119のCIのios (iPhone 17)・ios (iPad (A16))で発生)。変更
documentNameText(below:in:))。docs/dev-log/2026-10-07-ui-test-after-color-dialog.mdを足した。確認
mainで、iPhone 16(iOS 18.2)のSimulatorで同じ箇所の失敗を再現した。testEditorChromeIgnoresPageZoomAndTextSelection、testDocumentSwitchAutosavesEachDocument、testCoreEditorControlsExposeAccessibleNamesAndState、testTwoFingerGestureDoesNotDrawOnBoardがすべて成功した(別の編み図が開いた状態でも名前を見つけられた)。🤖 Generated with Claude Code