cashapp / AccessibilitySnapshot

Easy regression testing for iOS accessibility
Apache License 2.0
534 stars 65 forks source link

Activation point image sometimes fails to load #208

Closed NickEntin closed 4 months ago

NickEntin commented 4 months ago

Sometimes the activation point image fails to load, causing the activation points to be missing from the resulting snapshot. Once this happens on a machine, it seems to persist. I've seen this locally as well as on a few CI jobs now.

NickEntin commented 4 months ago

A couple examples of jobs where this is failing: https://github.com/cashapp/AccessibilitySnapshot/actions/runs/7884408756/job/21599405154?pr=206 https://github.com/cashapp/AccessibilitySnapshot/actions/runs/7833480324/job/21374543643?pr=205

The result is any snapshot showing activation points will fail:

    ActivationPointTests.testActivationPointEnabled()
    ActivationPointTests.testActivationPointEnabledWhenOverridden()
    -[ImpreciseObjectiveCTests testSimpleViewWithActivationPointAlways]
    -[ObjectiveCTests testSimpleViewWithActivationPointAlways]
    -[ObjectiveCTests testSimpleViewWithActivationPointDefault]
    SnapshotTestingTests.testShowingActivationPoint()
    SnapshotTestingTests.testShowingActivationPoint()
NickEntin commented 4 months ago

Seeing it on both the iOS 16 and 17 builds for this job: https://github.com/cashapp/AccessibilitySnapshot/actions/runs/7937196094/job/21673959125?pr=207