Bug 1375660 - Remove duplicate button 9 reference in test_accessibility. r=ato
authorHenrik Skupin <mail@hskupin.info>
Mon, 02 Oct 2017 23:58:01 +0200
changeset 427427 3c3867c8593f9c1d2551b5104acb7aa259c2f8b4
parent 427426 6db2db8b29f40dea8bf08236aeb39a3fc77a7461
child 427428 8d29f94988a9ff668b7ccb9ccde89a7756091eae
push id97
push userfmarier@mozilla.com
push dateSat, 14 Oct 2017 01:12:59 +0000
reviewersato
bugs1375660
milestone58.0a1
Bug 1375660 - Remove duplicate button 9 reference in test_accessibility. r=ato The element 'button9' is moved off screen by CSS and as such it is not marked as displayed. MozReview-Commit-ID: KQCA2QfZLrT
testing/marionette/harness/marionette_harness/tests/unit/test_accessibility.py
--- a/testing/marionette/harness/marionette_harness/tests/unit/test_accessibility.py
+++ b/testing/marionette/harness/marionette_harness/tests/unit/test_accessibility.py
@@ -71,17 +71,17 @@ class TestAccessibility(MarionetteTestCa
         # manipulated by it
         "button9",
         # Element is not currently visible
         "button10"
     ]
 
     displayed_elementIDs = [
         "button1", "button2", "button3", "button4", "button5", "button6",
-        "button9", "no_accessible_but_displayed"
+        "no_accessible_but_displayed"
     ]
 
     displayed_but_a11y_hidden_elementIDs = ["button7", "button8"]
 
     disabled_elementIDs = ["button11", "no_accessible_but_disabled"]
 
     # Elements that are enabled but otherwise disabled or not explorable
     # via the accessibility API