I have an iOS app and a screen with a table view. Each table view cell has a button that when tapped expands the cell and shows some further buttons inside another another view (this view is initially hidden). I’m unable to see the hidden buttons in appium after tapping to expand the hidden content, even though it’s visible on screen. I’ve set the accessibilityIdentifier’s on each hidden button but appium is not able to see them even (I’ve tried setting it in XCode Interface Builder and in code). In appium desktop it only shows XCUIElementTypeOther even after I click on the Refresh Source button.
If I configure the table view such that the cells are always expanded then the buttons are picked up correctly in Appium, but that’s not how the app should work.
Is there anything else I can do to let appium see these buttons after I’ve expanded a table view cell? Unfortunately I can’t test the functionality related to these buttons otherwise