Closed
Bug 1256682
Opened 8 years ago
Closed 6 years ago
"mach marionette-test" does not obey tags in manifest files and cause lots of test failures
Categories
(Remote Protocol :: Marionette, defect, P3)
Remote Protocol
Marionette
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: whimboo, Unassigned)
References
Details
(Keywords: pi-marionette-client)
While testing my patch on bug 1256439 I was using mach to run the marionette unit tests like "mach marionette-test". As result lots of tests are failing because they were run with Firefox desktop while they shouldn't as given by the tags in the manifest file. Here an example command: mach marionette-test testing/marionette/harness/marionette/tests/unit-tests.ini ERROR test_element_touch.py testElementTouch.test_scrolling ERROR test_element_touch.py testElementTouch.test_touch ERROR test_screen_orientation.py TestScreenOrientation.test_set_invalid_orientation ERROR test_screen_orientation.py TestScreenOrientation.test_set_null_orientation ERROR test_screen_orientation.py TestScreenOrientation.test_set_orientation_to_landscape_primary ERROR test_screen_orientation.py TestScreenOrientation.test_set_orientation_to_landscape_secondary ERROR test_screen_orientation.py TestScreenOrientation.test_set_orientation_to_portrait_primary ERROR test_screen_orientation.py TestScreenOrientation.test_set_orientation_to_portrait_secondary ERROR test_screen_orientation.py TestScreenOrientation.test_set_orientation_to_shorthand_landscape ERROR test_screen_orientation.py TestScreenOrientation.test_set_orientation_to_shorthand_portrait ERROR test_screen_orientation.py TestScreenOrientation.test_set_orientation_with_mixed_casing FAIL test_accessiblecaret_cursor_mode.py AccessibleCaretCursorModeTestCase.test_caret_not_appear_when_typing_in_scrollable_content FAIL test_shared_all.py TestSharedUnits.test_units FAIL test_desktop_all.py TestDesktopUnits.test_units FAIL test_standards.py TestStandardsUnits.test_units FAIL test_modules.py TestModulesUnits.test_units ERROR test_interface.py TestInterfaceUnits.test_units As you can see tests only suited for B2G are executed on Desktop. Not sure if that happens because I use build faster? David, do you have an idea?
Flags: needinfo?(dburns)
Comment 1•8 years ago
|
||
chmanchester appears to know things about the manifest parser the Marionette harness uses.
Keywords: ateam-marionette-client
Comment 2•8 years ago
|
||
I think the marionette runner wants "--type=browser" passed in to filter these correctly. Mach should probably provide this argument by default under some circumstances.
Flags: needinfo?(dburns)
Updated•6 years ago
|
Priority: -- → P3
Reporter | ||
Comment 4•6 years ago
|
||
I'm sure I fixed it with a patch on a different bug.
Status: NEW → RESOLVED
Closed: 6 years ago
Flags: needinfo?(hskupin)
Resolution: --- → WORKSFORME
Updated•1 year ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•