Closed
Bug 1461273
Opened 7 years ago
Closed 7 years ago
Intermittent /webdriver/tests/set_window_rect/set.py | test_restore_from_maximized - assert 800 == 400
Categories
(Remote Protocol :: Marionette, defect, P5)
Tracking
(Not tracked)
RESOLVED
DUPLICATE
of bug 1445212
People
(Reporter: intermittent-bug-filer, Unassigned)
Details
(Keywords: intermittent-failure)
Filed by: archaeopteryx [at] coole-files.de
https://treeherder.mozilla.org/logviewer.html#?job_id=178034450&repo=try
https://queue.taskcluster.net/v1/task/TpjMiXlETAyPRQ037kh5Tg/runs/0/artifacts/public/logs/live_backing.log
Seen for a central-as-beta simulation.
[task 2018-05-11T11:18:25.535Z] 11:18:25 INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_no_change[rect19]
[task 2018-05-11T11:18:25.535Z] 11:18:25 INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_fully_exit_fullscreen
[task 2018-05-11T11:18:25.536Z] 11:18:25 INFO - TEST-PASS | /webdriver/tests/set_window_rect/set.py | test_restore_from_minimized
[task 2018-05-11T11:18:25.536Z] 11:18:25 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/set_window_rect/set.py | test_restore_from_maximized - assert 800 == 400
[task 2018-05-11T11:18:25.536Z] 11:18:25 INFO - session = <Session 562f5293-fe7f-4ae9-8159-88dab60bf707>
[task 2018-05-11T11:18:25.537Z] 11:18:25 INFO -
[task 2018-05-11T11:18:25.537Z] 11:18:25 INFO - def test_restore_from_maximized(session):
[task 2018-05-11T11:18:25.538Z] 11:18:25 INFO - """
[task 2018-05-11T11:18:25.538Z] 11:18:25 INFO - 12. If the visibility state of the top-level browsing context's
[task 2018-05-11T11:18:25.539Z] 11:18:25 INFO - active document is hidden, restore the window.
[task 2018-05-11T11:18:25.540Z] 11:18:25 INFO -
[task 2018-05-11T11:18:25.540Z] 11:18:25 INFO - [...]
[task 2018-05-11T11:18:25.540Z] 11:18:25 INFO -
[task 2018-05-11T11:18:25.541Z] 11:18:25 INFO - To restore the window, given an operating system level window with
[task 2018-05-11T11:18:25.541Z] 11:18:25 INFO - an associated top-level browsing context, run implementation-specific
[task 2018-05-11T11:18:25.541Z] 11:18:25 INFO - steps to restore or unhide the window to the visible screen. Do not
[task 2018-05-11T11:18:25.542Z] 11:18:25 INFO - return from this operation until the visibility state of the top-level
[task 2018-05-11T11:18:25.542Z] 11:18:25 INFO - browsing context's active document has reached the visible state,
[task 2018-05-11T11:18:25.543Z] 11:18:25 INFO - or until the operation times out.
[task 2018-05-11T11:18:25.543Z] 11:18:25 INFO - """
[task 2018-05-11T11:18:25.543Z] 11:18:25 INFO -
[task 2018-05-11T11:18:25.544Z] 11:18:25 INFO - original_size = session.window.size
[task 2018-05-11T11:18:25.545Z] 11:18:25 INFO - session.window.maximize()
[task 2018-05-11T11:18:25.546Z] 11:18:25 INFO - assert session.window.size != original_size
[task 2018-05-11T11:18:25.546Z] 11:18:25 INFO -
[task 2018-05-11T11:18:25.547Z] 11:18:25 INFO - response = set_window_rect(session, {"width": 400, "height": 400})
[task 2018-05-11T11:18:25.547Z] 11:18:25 INFO - value = assert_success(response)
[task 2018-05-11T11:18:25.548Z] 11:18:25 INFO - > assert value["width"] == 400
[task 2018-05-11T11:18:25.550Z] 11:18:25 INFO - E assert 800 == 400
[task 2018-05-11T11:18:25.550Z] 11:18:25 INFO -
[task 2018-05-11T11:18:25.551Z] 11:18:25 INFO - original_size = (800, 600)
[task 2018-05-11T11:18:25.551Z] 11:18:25 INFO - response = <Responsetatus=200 body={"value": {"y": 450, "width": 800, "x": 100, "height": 600}}>
[task 2018-05-11T11:18:25.551Z] 11:18:25 INFO - session = <Session 562f5293-fe7f-4ae9-8159-88dab60bf707>
[task 2018-05-11T11:18:25.552Z] 11:18:25 INFO - value = {'height': 600, 'width': 800, 'x': 100, 'y': 450}
[task 2018-05-11T11:18:25.552Z] 11:18:25 INFO -
[task 2018-05-11T11:18:25.552Z] 11:18:25 INFO - tests/web-platform/tests/webdriver/tests/set_window_rect/set.py:250: AssertionError
[task 2018-05-11T11:18:25.553Z] 11:18:25 INFO - ............
[task 2018-05-11T11:18:25.553Z] 11:18:25 INFO - TEST-OK | /webdriver/tests/set_window_rect/set.py | took 16599ms
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
Comment 2•2 years ago
|
||
Moving bug to Remote Protocol::Marionette component per bug 1815831.
Component: geckodriver → Marionette
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•