Bug 860104 - Disable another click test, a=test-only

This commit is contained in:
Jonathan Griffin 2013-04-15 01:40:08 -07:00
Родитель d3109edb44
Коммит 5365eb2207
1 изменённых файлов: 14 добавлений и 12 удалений

Просмотреть файл

@ -5,6 +5,8 @@
import time
from marionette_test import MarionetteTestCase
"""
### Disabled due to bug 860104
class TestClick(MarionetteTestCase):
def test_click(self):
test_html = self.marionette.absolute_url("test.html")
@ -13,19 +15,19 @@ class TestClick(MarionetteTestCase):
link.click()
self.assertEqual("Clicked", self.marionette.execute_script("return document.getElementById('mozLink').innerHTML;"))
# disabled due to bug 860104
#def testClickingALinkMadeUpOfNumbersIsHandledCorrectly(self):
# test_html = self.marionette.absolute_url("clicks.html")
# self.marionette.navigate(test_html)
# self.marionette.find_element("link text", "333333").click()
# count = 0
# while len(self.marionette.find_elements("id", "username")) == 0:
# count += 1
# time.sleep(1)
# if count == 30:
# self.fail("Element id=username not found after 30 seconds")
def testClickingALinkMadeUpOfNumbersIsHandledCorrectly(self):
test_html = self.marionette.absolute_url("clicks.html")
self.marionette.navigate(test_html)
self.marionette.find_element("link text", "333333").click()
count = 0
while len(self.marionette.find_elements("id", "username")) == 0:
count += 1
time.sleep(1)
if count == 30:
self.fail("Element id=username not found after 30 seconds")
# self.assertEqual(self.marionette.title, "XHTML Test Page")
self.assertEqual(self.marionette.title, "XHTML Test Page")
"""
class TestClickChrome(MarionetteTestCase):
def setUp(self):