ios - XCUITest - UISlider shows up as "Other", unable to perform adjustToNormalizedSliderPosition -
i have tableview cell containing labels , uislider subclass. however, slider not recognized slider type, 'other'.
inspecting view, accessibility prints:
is accessibility element value 0% adjustable trait on elements <null> description ageslider hint <null> identifier <null> custom action <null> not focused
any ideas how let xcuitest recognize slider as, know, slider?
this tree printed xcode tableview cell:
cell 0x7ff9c2bb95c0: traits: 8589934592, {{0.0, 203.1}, {375.0, 95.0}}, identifier: \'slidercell\' statictext 0x7ff9c2bb9d70: traits: 8589934656, {{19.0, 219.1}, {205.0, 18.0}}, label: \'select minimum age\' statictext 0x7ff9c2bba4c0: traits: 8589934656, {{210.0, 219.1}, {145.0, 18.0}}, label: \'any\' other 0x7ff9c2bbabf0: traits: 8589938688, {{33.0, 248.1}, {309.0, 34.0}}, identifier: \'ageslider\', value: 0%
Comments
Post a Comment