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)
Remote Protocol
WebDriver BiDi
Tracking
(firefox117 fixed, firefox118 fixed)
RESOLVED
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 -
Comment hidden (Intermittent Failures Robot) |
Assignee | ||
Updated•2 years ago
|
Flags: needinfo?(jdescottes)
Assignee | ||
Comment 2•2 years ago
|
||
Let's monitor for now. I couldn't reproduce locally and I can't see anything suspicious in the logs either.
Flags: needinfo?(jdescottes)
Comment hidden (Intermittent Failures Robot) |
Comment hidden (Intermittent Failures Robot) |
Comment 6•2 years ago
|
||
The patch as landed via bug 1847044 fixed this failure.
Assignee: nobody → jdescottes
Status: NEW → RESOLVED
Closed: 2 years ago
status-firefox118:
--- → fixed
Depends on: 1847044
Resolution: --- → FIXED
Comment 7•2 years ago
|
||
status-firefox117:
--- → fixed
Comment hidden (Intermittent Failures Robot) |
You need to log in
before you can comment on or make changes to this bug.
Description
•