Skip to content

added performAccessibilityActivateWithExpectedResult#1304

Merged
RoyalPineapple merged 1 commit into
masterfrom
alex/AccessibilityActivate
Sep 24, 2024
Merged

added performAccessibilityActivateWithExpectedResult#1304
RoyalPineapple merged 1 commit into
masterfrom
alex/AccessibilityActivate

Conversation

@RoyalPineapple

@RoyalPineapple RoyalPineapple commented Sep 17, 2024

Copy link
Copy Markdown
Contributor

Some of my recent accessibility work in our design system results in accessibility elements that abstract away the interactivity of some underlying controls. These elements subsume the interactivity of their children and re-expose the functionality via accessibilityActivate().

Unfortunately this breaks KIF matching resulting in the need for an escape hatch to allow activation of elements with greater complexity.

performAccessibilityActivateWithExpectedResult calls accessibilityElement() on the found element and compares its result to the expectation.

Comment thread Sources/KIF/Classes/KIFUIViewTestActor.h Outdated
@RoyalPineapple RoyalPineapple force-pushed the alex/AccessibilityActivate branch 2 times, most recently from 61f9c9d to c2e68f6 Compare September 17, 2024 19:30
@RoyalPineapple RoyalPineapple changed the title added performAccessibilityActivateWithEpectedResult added performAccessibilityActivateWithExpectedResult Sep 17, 2024
Comment thread Sources/KIF/Classes/KIFUIViewTestActor.m Outdated
Comment thread KIF Tests/AccessibilityActivationTests_ViewTestActor.m Outdated
Comment thread Sources/KIF/Classes/KIFUIViewTestActor.m
@RoyalPineapple RoyalPineapple force-pushed the alex/AccessibilityActivate branch from f0ef0aa to eaa3168 Compare September 19, 2024 15:20
@RoyalPineapple RoyalPineapple force-pushed the alex/AccessibilityActivate branch from eaa3168 to c2341aa Compare September 24, 2024 15:01
@RoyalPineapple RoyalPineapple force-pushed the alex/AccessibilityActivate branch from c2341aa to 4dac875 Compare September 24, 2024 15:42
@RoyalPineapple RoyalPineapple merged commit ec9b38d into master Sep 24, 2024
amorde pushed a commit to amorde/KIF that referenced this pull request Jun 26, 2025
amorde pushed a commit to amorde/KIF that referenced this pull request Feb 24, 2026
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.

3 participants