Closed Bug 1843672 Opened 2 years ago Closed 2 years ago

Intermittent /webdriver/tests/bidi/browsing_context/set_viewport/set_viewport.py | test_set_viewport_reset - AssertionError: assert {'height': 515, 'width': 800} == {'height': 8, 'width': 0}

Categories

(Remote Protocol :: WebDriver BiDi, defect, P5)

defect

Tracking

(firefox117 fixed, firefox118 fixed)

RESOLVED FIXED
Tracking Status
firefox117 --- fixed
firefox118 --- fixed

People

(Reporter: intermittent-bug-filer, Assigned: jdescottes)

References

Details

(Keywords: assertion, intermittent-failure)

Filed by: nerli [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer?job_id=422722360&repo=autoland
Full log: https://firefox-ci-tc.services.mozilla.com/api/queue/v1/task/duGLDgR5TIW3gl-9PDHItQ/runs/0/artifacts/public/logs/live_backing.log


[task 2023-07-14T22:58:23.611Z] 22:58:23     INFO - TEST-PASS | /webdriver/tests/bidi/browsing_context/set_viewport/set_viewport.py | test_set_viewport 
[task 2023-07-14T22:58:23.611Z] 22:58:23     INFO - TEST-PASS | /webdriver/tests/bidi/browsing_context/set_viewport/set_viewport.py | test_set_viewport_same_dimensions 
[task 2023-07-14T22:58:23.611Z] 22:58:23     INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/bidi/browsing_context/set_viewport/set_viewport.py | test_set_viewport_reset - AssertionError: assert {'height': 515, 'width': 800} == {'height': 8, 'width': 0}
[task 2023-07-14T22:58:23.611Z] 22:58:23     INFO - bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fb9a5f36910>
[task 2023-07-14T22:58:23.611Z] 22:58:23     INFO - new_tab = {'context': '35bf7d2b-e318-47eb-b408-1128e1dc6754'}
[task 2023-07-14T22:58:23.611Z] 22:58:23     INFO - 
[task 2023-07-14T22:58:23.611Z] 22:58:23     INFO -     @pytest.mark.asyncio
[task 2023-07-14T22:58:23.611Z] 22:58:23     INFO -     async def test_set_viewport_reset(bidi_session, new_tab):
[task 2023-07-14T22:58:23.611Z] 22:58:23     INFO -         original_viewport = await get_viewport_dimensions(bidi_session, new_tab)
[task 2023-07-14T22:58:23.611Z] 22:58:23     INFO -     
[task 2023-07-14T22:58:23.611Z] 22:58:23     INFO -         test_viewport = {"width": 666, "height": 333}
[task 2023-07-14T22:58:23.611Z] 22:58:23     INFO -     
[task 2023-07-14T22:58:23.611Z] 22:58:23     INFO -         assert await get_viewport_dimensions(bidi_session, new_tab) != test_viewport
[task 2023-07-14T22:58:23.611Z] 22:58:23     INFO -     
[task 2023-07-14T22:58:23.611Z] 22:58:23     INFO -         await bidi_session.browsing_context.set_viewport(
[task 2023-07-14T22:58:23.611Z] 22:58:23     INFO -           context=new_tab["context"],
[task 2023-07-14T22:58:23.611Z] 22:58:23     INFO -           viewport=test_viewport)
[task 2023-07-14T22:58:23.611Z] 22:58:23     INFO -     
[task 2023-07-14T22:58:23.611Z] 22:58:23     INFO -         assert await get_viewport_dimensions(bidi_session, new_tab) == test_viewport
[task 2023-07-14T22:58:23.611Z] 22:58:23     INFO -     

Flags: needinfo?(jdescottes)

Let's monitor for now. I couldn't reproduce locally and I can't see anything suspicious in the logs either.

Flags: needinfo?(jdescottes)

Sasha saw the same behavior over on bug 1843604.

See Also: → 1843604

The patch as landed via bug 1847044 fixed this failure.

Assignee: nobody → jdescottes
Status: NEW → RESOLVED
Closed: 2 years ago
Depends on: 1847044
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.