Closed Bug 1589672 Opened 5 years ago Closed 5 years ago

Perma [tier2] /webdriver/tests/maximize_window/maximize.py | test_maximize - assert (800, 600) != (800, 600)

Categories

(Testing :: geckodriver, defect, P5)

Version 3
All
Linux
defect

Tracking

(firefox71 fixed)

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

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

References

(Regression)

Details

Filed by: opoprus [at] mozilla.com
Parsed log: https://treeherder.mozilla.org/logviewer.html#?job_id=271884864&repo=autoland
Full log: https://queue.taskcluster.net/v1/task/cK9P7RGPTA-FkWlC--6BCQ/runs/0/artifacts/public/logs/live_backing.log


[task 2019-10-18T12:44:04.220Z] 12:44:04 INFO - TEST-START | /webdriver/tests/maximize_window/maximize.py

[task 2019-10-18T12:44:18.339Z] 12:44:18 INFO - TEST-PASS | /webdriver/tests/maximize_window/maximize.py | test_restore_the_window
[task 2019-10-18T12:44:18.340Z] 12:44:18 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/maximize_window/maximize.py | test_maximize - assert (800, 600) != (800, 600)
[task 2019-10-18T12:44:18.340Z] 12:44:18 INFO - session = <Session 0419c23b-18e5-458b-9839-bb87008bc072>
[task 2019-10-18T12:44:18.340Z] 12:44:18 INFO -
[task 2019-10-18T12:44:18.341Z] 12:44:18 INFO - def test_maximize(session):
[task 2019-10-18T12:44:18.341Z] 12:44:18 INFO - before_size = session.window.size
[task 2019-10-18T12:44:18.342Z] 12:44:18 INFO -
[task 2019-10-18T12:44:18.342Z] 12:44:18 INFO - response = maximize(session)
[task 2019-10-18T12:44:18.342Z] 12:44:18 INFO - assert_success(response)
[task 2019-10-18T12:44:18.343Z] 12:44:18 INFO -
[task 2019-10-18T12:44:18.343Z] 12:44:18 INFO - > assert before_size != session.window.size
[task 2019-10-18T12:44:18.343Z] 12:44:18 INFO - E assert (800, 600) != (800, 600)
[task 2019-10-18T12:44:18.343Z] 12:44:18 INFO - E + where (800, 600) = <webdriver.client.Window object at 0x7f669d5be190>.size
[task 2019-10-18T12:44:18.343Z] 12:44:18 INFO - E + where <webdriver.client.Window object at 0x7f669d5be190> = <Session 0419c23b-18e5-458b-9839-bb87008bc072>.window
[task 2019-10-18T12:44:18.343Z] 12:44:18 INFO -
[task 2019-10-18T12:44:18.343Z] 12:44:18 INFO - before_size = (800, 600)
[task 2019-10-18T12:44:18.343Z] 12:44:18 INFO - response = <Responsetatus=200 body={"value": {"y": 100, "x": 100, "height": 600, "width": 800}}>
[task 2019-10-18T12:44:18.344Z] 12:44:18 INFO - session = <Session 0419c23b-18e5-458b-9839-bb87008bc072>
[task 2019-10-18T12:44:18.344Z] 12:44:18 INFO -
[task 2019-10-18T12:44:18.344Z] 12:44:18 INFO - tests/web-platform/tests/webdriver/tests/maximize_window/maximize.py:40: AssertionError
[task 2019-10-18T12:44:18.344Z] 12:44:18 INFO -
[task 2019-10-18T12:44:18.345Z] 12:44:18 INFO - TEST-UNEXPECTED-FAIL | /webdriver/tests/maximize_window/maximize.py | test_payload - assert (800, 600) != (800, 600)
[task 2019-10-18T12:44:18.345Z] 12:44:18 INFO - session = <Session 0419c23b-18e5-458b-9839-bb87008bc072>
[task 2019-10-18T12:44:18.345Z] 12:44:18 INFO -
[task 2019-10-18T12:44:18.346Z] 12:44:18 INFO - def test_payload(session):
[task 2019-10-18T12:44:18.346Z] 12:44:18 INFO - before_size = session.window.size
[task 2019-10-18T12:44:18.346Z] 12:44:18 INFO -
[task 2019-10-18T12:44:18.346Z] 12:44:18 INFO - response = maximize(session)
[task 2019-10-18T12:44:18.347Z] 12:44:18 INFO -
[task 2019-10-18T12:44:18.347Z] 12:44:18 INFO - assert response.status == 200
[task 2019-10-18T12:44:18.348Z] 12:44:18 INFO - assert isinstance(response.body["value"], dict)
[task 2019-10-18T12:44:18.348Z] 12:44:18 INFO -
[task 2019-10-18T12:44:18.349Z] 12:44:18 INFO - value = response.body["value"]
[task 2019-10-18T12:44:18.349Z] 12:44:18 INFO - assert "width" in value
[task 2019-10-18T12:44:18.350Z] 12:44:18 INFO - assert "height" in value
[task 2019-10-18T12:44:18.350Z] 12:44:18 INFO - assert "x" in value
[task 2019-10-18T12:44:18.350Z] 12:44:18 INFO - assert "y" in value
[task 2019-10-18T12:44:18.351Z] 12:44:18 INFO - assert isinstance(value["width"], int)
[task 2019-10-18T12:44:18.351Z] 12:44:18 INFO - assert isinstance(value["height"], int)
[task 2019-10-18T12:44:18.351Z] 12:44:18 INFO - assert isinstance(value["x"], int)
[task 2019-10-18T12:44:18.352Z] 12:44:18 INFO - assert isinstance(value["y"], int)
[task 2019-10-18T12:44:18.352Z] 12:44:18 INFO -
[task 2019-10-18T12:44:18.353Z] 12:44:18 INFO - > assert before_size != session.window.size
[task 2019-10-18T12:44:18.353Z] 12:44:18 INFO - E assert (800, 600) != (800, 600)
[task 2019-10-18T12:44:18.353Z] 12:44:18 INFO - E + where (800, 600) = <webdriver.client.Window object at 0x7f669d5be190>.size
[task 2019-10-18T12:44:18.353Z] 12:44:18 INFO - E + where <webdriver.client.Window object at 0x7f669d5be190> = <Session 0419c23b-18e5-458b-9839-bb87008bc072>.window
[task 2019-10-18T12:44:18.353Z] 12:44:18 INFO -
[task 2019-10-18T12:44:18.354Z] 12:44:18 INFO - before_size = (800, 600)
[task 2019-10-18T12:44:18.354Z] 12:44:18 INFO - response = <Responsetatus=200 body={"value": {"y": 100, "x": 100, "height": 600, "width": 800}}>
[task 2019-10-18T12:44:18.354Z] 12:44:18 INFO - session = <Session 0419c23b-18e5-458b-9839-bb87008bc072>
[task 2019-10-18T12:44:18.355Z] 12:44:18 INFO - value = {'height': 600, 'width': 800, 'x': 100, 'y': 100}
[task 2019-10-18T12:44:18.355Z] 12:44:18 INFO -
[task 2019-10-18T12:44:18.355Z] 12:44:18 INFO - tests/web-platform/tests/webdriver/tests/maximize_window/maximize.py:61: AssertionError
[task 2019-10-18T12:44:18.355Z] 12:44:18 INFO - ..
[task 2019-10-18T12:44:18.355Z] 12:44:18 INFO - TEST-OK | /webdriver/tests/maximize_window/maximize.py | took 14084ms
[task 2019-10-18T12:44:18.372Z] 12:44:18 INFO - Closing logging queue
[task 2019-10-18T12:44:18.372Z] 12:44:18 INFO - queue closed
[task 2019-10-18T12:44:18.373Z] 12:44:18 INFO - Starting runner
[task 2019-10-18T12:44:18.391Z] 12:44:18 INFO - PID 22269 | 1571402658389 geckodriver DEBUG Listening on 127.0.0.1:43394
[task 2019-10-18T12:44:18.891Z] 12:44:18 INFO - WebDriver HTTP server listening at http://127.0.0.1:43394/

Flags: needinfo?(jhorak)
Regressed by: 1565401

Similar to bug 1589186, which seems to have been fixed already. Lets wait for the reply on bug 1589186.

OS: Unspecified → Linux
Hardware: Unspecified → All
See Also: → 1589186

Fixed by bug 1589541 .

Assignee: nobody → jhorak
Status: NEW → RESOLVED
Closed: 5 years ago
Depends on: 1589541
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
Flags: needinfo?(jhorak)
Has Regression Range: --- → yes
You need to log in before you can comment on or make changes to this bug.