Commit 8440da7
committed
refactor: remove legacy fallbacks for hw_actions extension
Removed the legacy Appium extension presence checks and try-except fallbacks for `lock`, `unlock`, `is_locked`, `shake`, `finger_print`, `touch_id`, and `toggle_touch_id_enrollment` in `HardwareActions`. The commands now exclusively rely on executing scripts with the `mobile:` prefix. Removed inheritance from `CanRememberExtensionPresence` and cleaned up tests to assert on the script execution endpoints.1 parent 71a53ff commit 8440da7
1 file changed
Lines changed: 8 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | | - | |
| 59 | + | |
58 | 60 | | |
59 | 61 | | |
60 | 62 | | |
| |||
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
95 | | - | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
96 | 100 | | |
97 | 101 | | |
98 | | - | |
| 102 | + | |
99 | 103 | | |
100 | 104 | | |
101 | 105 | | |
| |||
0 commit comments