зеркало из https://github.com/mozilla/gecko-dev.git
Bug 860104 - Disable another click test, a=test-only
This commit is contained in:
Родитель
d3109edb44
Коммит
5365eb2207
|
@ -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):
|
||||
|
|
Загрузка…
Ссылка в новой задаче