You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is a different behaviour on same screen on simulator ios 16.1 iphone 12 and real device (SauceLabs) ios 16.1/16.2beta iPhone 12.
On simulator I am able to get element by AppiumBy.iOSClassChain - **/XCUIElementTypeCell[name == 'address']/XCUIElementTypeTextView[name = 'detail_1'], and test passes. Here is screenshot from appium inspector:
On real device ios 16.1/16.2beta only (iOS 15.6 issue is not reproducible) test is failing on same screen with error message Element with locator: AppiumBy.iOSClassChain: **/XCUIElementTypeCell[name == 'address']/XCUIElementTypeTextView[name = 'detail_1'] was not found from webdriver / root element after 20 seconds. Here is screenshot from appium inspector:
Expected Behavior
On real device element should be found by AppiumBy.iOSClassChain: **/XCUIElementTypeCell[name == 'address']/XCUIElementTypeTextView[name = 'detail_1'] and test should pass
Minimal Reproducible Example
driver.findElement(AppiumBy.iOSClassChain("**/XCUIElementTypeCell[name == 'address']/XCUIElementTypeTextView[name = 'detail_1']"));
Environment
Operating system: mac
If running via appium CLI...
Appium CLI version (output of appium --version): 2.0.0-beta.44
Node.js version (output of node --version): v17.4.0
npm version (output of npm --version): 8.3.1
Real device or emulator/simulator: real device iOS 16.1
This appears to be an issue with XCUIAutomation, which is a part of the XCTest framework that ships with Xcode. swift-corelibs-xctest (this repository) does not support XCUIAutomation APIs. Please file a bug report using Apple's Feedback Assistant. Thanks!
There is a different behaviour on same screen on simulator ios 16.1 iphone 12 and real device (SauceLabs) ios 16.1/16.2beta iPhone 12.
Expected Behavior
On real device element should be found by AppiumBy.iOSClassChain: **/XCUIElementTypeCell[name == 'address']/XCUIElementTypeTextView[name = 'detail_1'] and test should pass
Minimal Reproducible Example
driver.findElement(AppiumBy.iOSClassChain("**/XCUIElementTypeCell[name == 'address']/XCUIElementTypeTextView[name = 'detail_1']"));
Environment
Operating system: mac
If running via appium CLI...
Appium CLI version (output of appium --version): 2.0.0-beta.44
Node.js version (output of node --version): v17.4.0
npm version (output of npm --version): 8.3.1
Real device or emulator/simulator: real device iOS 16.1
Link to Appium Logs
https://gist.github.com/StsiapanPal/ab82d6de6510cb29614f9d48d0f0f583
The text was updated successfully, but these errors were encountered: