Once switching to UIScene API to verify app orientation, there's no need to invoke orientation setter, and UIScene orientation will give the actual orientation value after calling XCUIDevice setOrientation:.
The orientation setter on UIScene also denies the request if the application is in multi-window mode that will break the test.
Remove geometry update request in rotation API.
Once switching to UIScene API to verify app orientation, there's no need to invoke orientation setter, and UIScene orientation will give the actual orientation value after calling XCUIDevice setOrientation:.
The orientation setter on UIScene also denies the request if the application is in multi-window mode that will break the test.