Open
Bug 1762131
Opened 3 years ago
Updated 1 year ago
Intermittent Android webdriver/tests/new_session/platform_name.py | test_corresponds_to_local_system - AssertionError: assert 'android' == 'linux'
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 the wrong platform name is assumed:
https://firefoxci.taskcluster-artifacts.net/ZudT0eAHQSKdfO1IywbDqg/1/public/logs/live_backing.log
[task 2022-03-29T12:46:02.701Z] 12:46:02 INFO - STDOUT: @pytest.mark.skipif(platform_name is None, reason="Unsupported platform {}".format(platform_name))
[task 2022-03-29T12:46:02.701Z] 12:46:02 INFO - STDOUT: def test_corresponds_to_local_system(new_session, add_browser_capabilities):
[task 2022-03-29T12:46:02.701Z] 12:46:02 INFO - STDOUT: response, _ = new_session({"capabilities": {"alwaysMatch": add_browser_capabilities({})}})
[task 2022-03-29T12:46:02.702Z] 12:46:02 INFO - STDOUT: value = assert_success(response)
[task 2022-03-29T12:46:02.702Z] 12:46:02 INFO - STDOUT: > assert value["capabilities"]["platformName"] == platform_name
[task 2022-03-29T12:46:02.702Z] 12:46:02 INFO - STDOUT: E AssertionError: assert 'android' == 'linux'
[task 2022-03-29T12:46:02.702Z] 12:46:02 INFO - STDOUT: E - linux
[task 2022-03-29T12:46:02.702Z] 12:46:02 INFO - STDOUT: E + android
We should not assume that the platformName
capability will be equal to the host system. I'm going to disable this test for now via bug 1749444.
Reporter | ||
Updated•3 years ago
|
Comment 1•2 years ago
|
||
Moving bug to Remote Protocol::Marionette component per bug 1815831.
Component: geckodriver → Marionette
Product: Testing → Remote Protocol
Reporter | ||
Updated•1 year ago
|
Severity: -- → S4
You need to log in
before you can comment on or make changes to this bug.
Description
•