google / EarlGrey

:tea: iOS UI Automation Test Framework
http://google.github.io/EarlGrey/
Apache License 2.0
5.62k stars 744 forks source link

Remove geometry update request in rotation API. #1898

Closed copybara-service[bot] closed 1 year ago

copybara-service[bot] commented 1 year ago

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.