I've been able to find the following KIF method for setting the value of a UISwitch
:
tester.setOn(false, forSwitchWithAccessibilityLabel: "Enable Feature")
However, I have been unable to figure out how to retrieve the value of a UISwitch, using KIF, in an assert/test approach.
Any ideas?