device : iPhone 8 Plus
version: iOS 16
xcode version: 15.0.1
mac os: 13.6.6
appium: 2.5.2
xcuitest: 7.13.0
When XCTest start to automation running, it does not cover the device’s whole window as the picture shows. And my test cases testify that it cannot inspect the element outside of the cover. Is there any solution to make it compatible?
enter image description here
I guess this is XCTest problem.
One way is to change the device’s settings to zoom, but that changes the App’s UI, too.
And I try to look for some articles to find if there is any Appium desired capabilities to set, but nothing related to the screen size or scope.