Skip to content

test(webdriver): add unit tests for HardwareActions.unlock - #1331

Open
Dor-bl wants to merge 1 commit into
appium:masterfrom
Dor-bl:test/hw-actions-unlock-6019952125829894588
Open

Dor-bl wants to merge 1 commit into
appium:masterfrom
Dor-bl:test/hw-actions-unlock-6019952125829894588

Conversation

@Dor-bl

@Dor-bl Dor-bl commented Oct 24, 2026

Copy link
Copy Markdown
Contributor

Changes

test/unit/webdriver/device/lock_test.py: split \ est_unlock\ into \ est_unlock_when_locked\ and \ est_unlock_when_unlocked\ for both Android and iOS drivers to cover the early-return path in \HardwareActions.unlock\ when \mobile: isLocked\ returns \False.

Testing

\pytest test/unit/webdriver/device/lock_test.py: 14 passed.

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