From 9a25a444e1f358d69902ac89ffd0f525828c8502 Mon Sep 17 00:00:00 2001 From: PJ Date: Sat, 22 Aug 2026 21:48:47 +0530 Subject: [PATCH] docs: the last two tests that credit the sidecar for an iOS fact Same correction as the alias table they cover: accessibilityText comes from the companion. --- internal/driver/chrome/selector_parity_test.go | 2 +- internal/hierarchy/hierarchy_test.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/driver/chrome/selector_parity_test.go b/internal/driver/chrome/selector_parity_test.go index 4d1d3bf..c27a52f 100644 --- a/internal/driver/chrome/selector_parity_test.go +++ b/internal/driver/chrome/selector_parity_test.go @@ -119,7 +119,7 @@ func TestSelectors_ResolveTheSameElementsAsTheWebRuntime(t *testing.T) { // Every name for the accessible label has to name one element. Four // of the six reached it on one host only: label and // accessibilityLabel aliased onto accessibilityText alone, which - // the ios sidecar writes and this dump does not, and alias + // the ios companion writes and this dump does not, and alias // expansion is one level; ariaLabel and contentDescription aliased // onto nothing. accessibilityText was the mirror image, resolving // against the dump and reaching no DOM attribute of that name. diff --git a/internal/hierarchy/hierarchy_test.go b/internal/hierarchy/hierarchy_test.go index dcd58a1..926cafd 100644 --- a/internal/hierarchy/hierarchy_test.go +++ b/internal/hierarchy/hierarchy_test.go @@ -695,7 +695,7 @@ func TestAccessibilityLabelAliasesReachContentDesc(t *testing.T) { } } -// The iOS sidecar writes the same fact under accessibilityText, which the two +// The iOS companion writes the same fact under accessibilityText, which the two // names already reached and have to keep reaching. func TestAccessibilityLabelAliasesStillReachAccessibilityText(t *testing.T) { tree, _ := Parse(iosAttrDump)