Skip to content

Commit fb0472a

Browse files
committed
[py] Remove PhantomJS ignores from most tests in TestExecutingAsyncJavaScript
1 parent fc4d79f commit fb0472a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

py/test/selenium/webdriver/common/executing_async_javascript_tests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
from selenium.webdriver.remote.webelement import WebElement
2424

2525

26-
@pytest.mark.ignore_phantomjs
2726
class TestExecutingAsyncJavaScript(object):
2827

2928
def testShouldNotTimeoutIfCallbackInvokedImmediately(self, driver, pages):
@@ -95,12 +94,14 @@ def testShouldBeAbleToReturnArraysOfWebElementsFromAsyncScripts(self, driver, pa
9594
assert "body" == list_[0].tag_name
9695
# assert list_[0] == list_[1]
9796

97+
@pytest.mark.ignore_phantomjs
9898
def testShouldTimeoutIfScriptDoesNotInvokeCallback(self, driver, pages):
9999
pages.load("ajaxy_page.html")
100100
with pytest.raises(TimeoutException):
101101
# Script is expected to be async and explicitly callback, so this should timeout.
102102
driver.execute_async_script("return 1 + 2;")
103103

104+
@pytest.mark.ignore_phantomjs
104105
def testShouldTimeoutIfScriptDoesNotInvokeCallbackWithAZeroTimeout(self, driver, pages):
105106
pages.load("ajaxy_page.html")
106107
with pytest.raises(TimeoutException):

0 commit comments

Comments
 (0)