-
-
Notifications
You must be signed in to change notification settings - Fork 210
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor: Isolate base Android functionality #901
refactor: Isolate base Android functionality #901
Conversation
Unit tests obviously fail for now and need an update. Only the codebase has been updated to a buildable state. |
Took a look entirely. I don't have any objections to this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
didn't review the code in detail but the big picture changes are OK to me. good to go when tests are in order.
…droid-driver into refactor_mixins # Conflicts: # lib/helpers/webview.ts # test/unit/commands/webview-helper-specs.js
## [8.0.0](v7.8.3...v8.0.0) (2024-01-24) ### ⚠ BREAKING CHANGES * Removed androidHelpers export. Corresponding methods are now integrated into the driver * Removed webviewHelpers export. Corresponding methods are now integrated into the driver * Removed redundant exports related to io.appium.settings. * Removed deprecated APIs related to launchApp/closeApp/reset * Removed the unused unlocker property from the driver. The mixin typesystem has been aligned. There are no explicit mixin definitions, which basically duplicate each method signature. Instead all types are now provided next to method definitions. Improved grouping of different commands. Made it more explicit which of them are designed for export and which are just internal helpers Improved helper methods design, so they don't need to retrieve driver-specific properties (like log or adb) via command line args, but use this context and explicit binding instead. Marked legacy JWP touch-related methods as deprecated. They must be eventually replaced with proper W3C implementations. Removed unused declarations for non-implemented methods. ### Code Refactoring * Isolate base Android functionality ([#901](#901)) ([70e6233](70e6233))
🎉 This PR is included in version 8.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
BREAKING CHANGE: Removed androidHelpers export. Corresponding methods are now integrated into the driver
BREAKING CHANGE: Removed webviewHelpers export. Corresponding methods are now integrated into the driver
BREAKING CHANGE: Removed redundant exports related to io.appium.settings.
BREAKING CHANGE: Removed deprecated APIs related to launchApp/closeApp/reset
BREAKING CHANGE: Removed the unused
unlocker
property from the driver.The mixin typesystem has been aligned. There are no explicit mixin definitions, which basically duplicate each method signature. Instead all types are now provided next to method definitions.
Improved grouping of different commands. Made it more explicit which of them are designed for export and which are just internal helpers
Improved helper methods design, so they don't need to retrieve driver-specific properties (like
log
oradb
) via command line args, but usethis
context and explicit binding instead.Marked legacy JWP touch-related methods as deprecated. They must be eventually replaced with proper W3C implementations.
Removed unused declarations for non-implemented methods.