Open
Bug 1762132
Opened 3 years ago
Updated 2 years ago
Intermittent Android webdriver/tests/new_session/response.py | test_capability_default_value[setWindowRect-True] - AssertionError: assert False == True
Categories
(Remote Protocol :: Marionette, defect, P5)
Tracking
(Not tracked)
NEW
People
(Reporter: whimboo, Unassigned)
References
(Blocks 1 open bug)
Details
(Keywords: intermittent-failure, test-disabled)
With the upcoming support for wdspec tests on Android the following test fails because it's wrongly assumed that Android would support setWindowRect
:
https://firefoxci.taskcluster-artifacts.net/ZudT0eAHQSKdfO1IywbDqg/1/public/logs/live_backing.log
[task 2022-03-29T12:46:16.978Z] 12:46:16 INFO - @pytest.mark.parametrize("capability, default_value", [
[task 2022-03-29T12:46:16.978Z] 12:46:16 INFO - ("acceptInsecureCerts", False),
[task 2022-03-29T12:46:16.978Z] 12:46:16 INFO - ("pageLoadStrategy", "normal"),
[task 2022-03-29T12:46:16.978Z] 12:46:16 INFO - ("proxy", {}),
[task 2022-03-29T12:46:16.978Z] 12:46:16 INFO - ("setWindowRect", True),
[task 2022-03-29T12:46:16.978Z] 12:46:16 INFO - ("timeouts", {"implicit": 0, "pageLoad": 300000, "script": 30000}),
[task 2022-03-29T12:46:16.978Z] 12:46:16 INFO - ("strictFileInteractability", False),
[task 2022-03-29T12:46:16.978Z] 12:46:16 INFO - ("unhandledPromptBehavior", "dismiss and notify"),
[task 2022-03-29T12:46:16.978Z] 12:46:16 INFO - ])
[task 2022-03-29T12:46:16.978Z] 12:46:16 INFO - def test_capability_default_value(session, capability, default_value):
[task 2022-03-29T12:46:16.978Z] 12:46:16 INFO - assert isinstance(session.capabilities, dict)
[task 2022-03-29T12:46:16.978Z] 12:46:16 INFO - assert capability in session.capabilities
[task 2022-03-29T12:46:16.978Z] 12:46:16 INFO - > assert session.capabilities[capability] == default_value
[task 2022-03-29T12:46:16.978Z] 12:46:16 INFO - E assert False == True
[task 2022-03-29T12:46:16.978Z] 12:46:16 INFO - E +False
[task 2022-03-29T12:46:16.978Z] 12:46:16 INFO - E -True
[task 2022-03-29T12:46:16.978Z] 12:46:16 INFO -
[task 2022-03-29T12:46:16.978Z] 12:46:16 INFO - capability = 'setWindowRect'
[task 2022-03-29T12:46:16.978Z] 12:46:16 INFO - default_value = True
[task 2022-03-29T12:46:16.978Z] 12:46:16 INFO - session = <Session 401fa309-6e0c-4c67-a7cc-8abb5cb23c66>
I'm going to disable this test for now via bug 1749444.
Comment 1•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
•