appium: bug: XCUITestDriver - Some sendKeys no more working after update from 4.33.2 to 4.34.0

Do I have the most recent component updates?

  • I use the most recent available driver/plugin and server versions

Is the component officially supported by the Appium team?

  • I have verified the component repository is present under the Appium organization in GitHub

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

sendKeys fill ‘numeric’ input with wanted string then, when clicking on validation button, the text disapear and so the text field is considered empty.

Expected Behavior

sendKeys fill ‘numeric’ input with wanted string then, when clicking on validation button, we submit what was entered in text field.

Minimal Reproducible Example

d = getIOSDriver()
d.findElement(AppiumBy.xpath(EMAIL_AUTH_CODE))?.sendKeys(“123456”) d.findElement(AppiumBy.xpath(EMAIL_AUTH_CODE_CONFIRMATION))?.click()

Environment

  • Operating system: macOS 13.5.1 / iOS 15.7.1
  • Appium server version (output of appium --version): 2.1.1
  • Appium driver(s) and their version(s): appium-xcuitest-driver: 4.34.0
  • Appium plugin(s) and their version(s): NA
  • Node.js version (output of node --version): 19.9.0
  • npm version (output of npm --version): 9.6.3
  • Last component(s) version which did not exhibit the problem: appium-xcuitest-driver: 4.33.2
  • Platform and version under test:
  • Real device or emulator/simulator: Real iOS device

Link to Appium Logs

No response

Further Information

No response

About this issue

  • Original URL
  • State: closed
  • Created 10 months ago
  • Comments: 20 (12 by maintainers)

Commits related to this issue

Most upvoted comments

I have created a minimal reproducible example at https://github.com/mAu888/xcuitestdriver-AppiumInputBug, as we face the same issue. It contains an Xcode project with a web context and a test.

Maybe that helps to quickly verify any fixes. I tried to dig into the underlying issue, but I failed to understand where the code for the Atoms is stored and how everything there works 😅