Skip to content

feat!: upgrade appium_lib_core to 14 - #1151

Open
KazuCocoa wants to merge 4 commits into
masterfrom
bump-core
Open

KazuCocoa wants to merge 4 commits into
masterfrom
bump-core

Conversation

@KazuCocoa

@KazuCocoa KazuCocoa commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

Summary

Require appium_lib_core >= 14.0.0, < 15.0 and adapt driver initialization and screenshot helpers to APIs supported by core 14. Preserve the wrapper's appium_lib[:wait], default_wait, no_wait, set_wait, and screenshot helpers, including applying a configured implicit wait after each session starts.

Breaking changes: wait and wait_true now retry only NoSuchElementError by default. For example, wait { assert_equal ... } now propagates an assertion failure immediately unless Minitest::Assertion is explicitly included in ignored:. Core APIs such as Appium.symbolize_keys and Element#location_rel are no longer available. This change should ship in a major release.

Document migration steps and assertion-retry examples in the CHANGELOG and wait helper docstrings. Update Android/iOS test expectations for core 14 and add regression coverage for option handling, implicit waits, screenshots, and wait exception behavior.

How Has This Been Tested?

  • bundle exec rake test with core 14.0.0: 53 tests, 143 assertions, no failures or errors.
  • bundle exec rake rubocop: 103 files, no offenses.
  • Additional RuboCop checks for the new regression tests and gemspec.
  • Ruby syntax and git diff --check after the docstring examples were added.
  • Android/iOS device-based functional tests were not run; they require Appium and a device or simulator.

Checklist

  • bundle exec rake rubocop

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant