Button Shapes (the accessibility feature) on iOS can be enabled and disabled from the setting app on the simulator. But what if we want to enable and disable it to take snapshots or any other kind of unit test from within XCTestCase?
It doesn't seem to be a UITrait and has a buttonShapesEnabled property exposed from UIAccessibility but how do we change this property from inside a unit test?