Bug 896043 - Switching off tests as they are not being used and blocking marionette content updates. r=jgriffin, a=test-only
authorDavid Burns <dburns@mozilla.com>
Mon, 22 Jul 2013 10:57:56 +0100
changeset 119790 ebd5ab3f3a02fbcee29d2f9fc85aa86064f454bf
parent 119789 e30fa70bd7815d03debc7c8d9066fb58db81557e
child 119791 5f9bcb5dc193157a4fcc2ff98a919054cdffb493
push id994
push userryanvm@gmail.com
push dateTue, 23 Jul 2013 16:42:29 +0000
reviewersjgriffin, test-only
bugs896043
milestone18.1
Bug 896043 - Switching off tests as they are not being used and blocking marionette content updates. r=jgriffin, a=test-only
testing/marionette/client/marionette/tests/unit/test_elementState.py
testing/marionette/client/marionette/tests/unit/test_text.py
--- a/testing/marionette/client/marionette/tests/unit/test_elementState.py
+++ b/testing/marionette/client/marionette/tests/unit/test_elementState.py
@@ -39,15 +39,16 @@ class TestStateChrome(MarionetteTestCase
 
     def test_isEnabled(self):
         l = self.marionette.find_element("id", "textInput")
         self.assertTrue(l.is_enabled())
         self.marionette.execute_script("arguments[0].disabled = true;", [l])
         self.assertFalse(l.is_enabled())
         self.marionette.execute_script("arguments[0].disabled = false;", [l])
 
+    ''' Switched on in Bug 896043 to be turned on in Bug 896046
     def test_isDisplayed(self):
         l = self.marionette.find_element("id", "textInput")
         self.assertTrue(l.is_displayed())
         self.marionette.execute_script("arguments[0].hidden = true;", [l])
         self.assertFalse(l.is_displayed())
         self.marionette.execute_script("arguments[0].hidden = false;", [l])
-
+    '''
\ No newline at end of file
--- a/testing/marionette/client/marionette/tests/unit/test_text.py
+++ b/testing/marionette/client/marionette/tests/unit/test_text.py
@@ -23,16 +23,17 @@ class TestText(MarionetteTestCase):
     def test_sendKeys(self):
         test_html = self.marionette.absolute_url("test.html")
         self.marionette.navigate(test_html)
         l = self.marionette.find_element("name", "myInput")
         self.assertEqual("asdf", self.marionette.execute_script("return arguments[0].value;", [l]))
         l.send_keys("o")
         self.assertEqual("asdfo", self.marionette.execute_script("return arguments[0].value;", [l]))
 
+''' Disabled in bug 896043 and when working on Chrome code re-enable for bug 896046
 class TestTextChrome(MarionetteTestCase):
     def setUp(self):
         MarionetteTestCase.setUp(self)
         self.marionette.set_context("chrome")
         self.win = self.marionette.current_window_handle
         self.marionette.execute_script("window.open('chrome://marionette/content/test.xul', 'foo', 'chrome,centerscreen');")
         self.marionette.switch_to_window('foo')
         self.assertNotEqual(self.win, self.marionette.current_window_handle)
@@ -65,8 +66,9 @@ class TestTextChrome(MarionetteTestCase)
         wins = self.marionette.window_handles
         wins.remove(self.win)
         newWin = wins.pop()
         self.marionette.switch_to_window(newWin)
         box = self.marionette.find_element("id", "textInput")
         self.assertEqual("test", box.text)
         box.send_keys("at")
         self.assertEqual("attest", box.text)
+'''
\ No newline at end of file