Closed Bug 1908828 Opened 2 months ago Closed 2 months ago

[wdspec] Avoid opening software keyboard while running testing/web-platform/tests/webdriver/tests/classic/element_click/scroll_into_view.py on Android

Categories

(Remote Protocol :: Marionette, defect, P3)

Unspecified
Android
defect

Tracking

(firefox130 fixed)

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: hiro, Assigned: hiro)

References

(Blocks 1 open bug)

Details

(Whiteboard: [webdriver:external], [wptsync upstream])

Attachments

(1 file)

In bug 1831649 I am going to change our TestRunner activity's windowSoftInputMode to "stateUnspecified|adjustResize", then it turned out that it makes "test_partially_visible_does_not_scroll[9]" (which is the first test case of test_partially_visible_does_not_scroll) fail.

The reason why it fails is because in the previous test named test_scroll_into_view the software keyboard opens, thus with "stateUnspecified|adjustResize" the content area gets resized by the software keyboard, then the first test case of test_partially_visible_does_not_scroll fails. Without specifying "stateUnspecified|adjustResize" the contents never gets resized by the software keyboard.

Anyways, the resized behavior is our browser's default, Fenix, Focus. So I am pretty sure the test will also fail once after we start running tests on Fenix (bug 1880800).

The test should just work regardless whether the keyboard is open or not, but
if it's open and the content gets resized by the keyboard, the next test case
will not work as expected.

Assignee: nobody → hikezoe.birchill
Status: NEW → ASSIGNED
Component: web-platform-tests → Marionette
Product: Testing → Remote Protocol
Summary: Avoid opening software keyboard while running testing/web-platform/tests/webdriver/tests/classic/element_click/scroll_into_view.py on Android → [wdspec] Avoid opening software keyboard while running testing/web-platform/tests/webdriver/tests/classic/element_click/scroll_into_view.py on Android
Attachment #9413723 - Attachment description: Bug 1908828 - Specify inputMode=none to avoid opening the software keyboard when the input element is clicked. r?whimboo → Bug 1908828 - Close test_scroll_into_view session before running the next test. r?whimboo
Priority: -- → P3
Whiteboard: [webdriver:external]
Pushed by hikezoe.birchill@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/37808d03b86d
Close test_scroll_into_view session before running the next test. r=whimboo,webdriver-reviewers
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/47343 for changes under testing/web-platform/tests
Whiteboard: [webdriver:external] → [webdriver:external], [wptsync upstream]
Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Target Milestone: --- → 130 Branch
Upstream PR merged by moz-wptsync-bot
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: