I need to validate whether specific menu items are correctly enabled/disabled.
The XCUIAutomation elements for my menu items do not appear in the tree shown by displaying the XCUIApplication object in the debugger when building and testing the iPadOS version of my application.
When running the application in an iPad simulator, I can make the menu bar appear by swiping down.
The testing works as expected for the MacOS build and test.
I did try to use the recording feature, but was not successful in creating a series of commands that worked for a test run.