[py] Disabling W3C interaction tests in legacy firefox
@@ -31,6 +31,7 @@ def test_should_be_able_to_get_pointer_and_keyboard_inputs(driver, pages):
assert keyboards is not None
+@pytest.mark.xfail_firefox
@pytest.mark.xfail_marionette(
reason='https://github.com/mozilla/geckodriver/issues/646')
def testSendingKeysToActiveElementWithModifier(driver, pages):
@@ -49,6 +50,7 @@ def testSendingKeysToActiveElementWithModifier(driver, pages):
assert "ABC" == e.get_attribute('value')
+@pytest.mark.xfail_firefox
def test_can_create_pause_action_on_keyboard(driver, pages):
# If we don't get an error and takes less than 3 seconds to run, we are good
import datetime
@@ -67,6 +69,7 @@ def test_can_create_pause_action_on_keyboard(driver, pages):
actions2.perform()
+@pytest.mark.xfail_firefox
def test_can_create_pause_action_on_pointer(driver, pages):
# If we don't get an error and takes less than 3 seconds to run, we are good
import datetime
@@ -85,11 +88,13 @@ def test_can_create_pause_action_on_pointer(driver, pages):
actions2.perform()
+@pytest.mark.xfail_firefox
def test_can_clear_actions(driver, pages):
actions = ActionBuilder(driver)
actions.clear_actions()
+@pytest.mark.xfail_firefox
def test_move_and_click(driver, pages):
pages.load("javascriptPage.html")
toClick = driver.find_element_by_id("clickField")
@@ -104,6 +109,7 @@ def test_move_and_click(driver, pages):
assert "Clicked" == toClick.get_attribute('value')
+@pytest.mark.xfail_firefox
def testDragAndDrop(driver, pages):
"""Copied from org.openqa.selenium.interactions.TestBasicMouseInterface."""
element_available_timeout = 15
@@ -129,6 +135,7 @@ def testDragAndDrop(driver, pages):
assert "Dropped!" == text
+@pytest.mark.xfail_firefox
@pytest.mark.xfail_marionette(
reason='https://github.com/mozilla/geckodriver/issues/660')
def test_context_click(driver, pages):
@@ -144,6 +151,7 @@ def test_context_click(driver, pages):
assert "ContextClicked" == toContextClick.get_attribute('value')
+@pytest.mark.xfail_firefox
@pytest.mark.xfail_marionette(
reason='https://github.com/mozilla/geckodriver/issues/661')
def test_double_click(driver, pages):
@@ -160,12 +168,14 @@ def test_double_click(driver, pages):
assert "DoubleClicked" == toDoubleClick.get_attribute('value')
+@pytest.mark.xfail_firefox
def test_dragging_element_with_mouse_moves_it_to_another_list(driver, pages):
_performDragAndDropWithMouse(driver, pages)
dragInto = driver.find_element_by_id("sortable1")
assert 6 == len(dragInto.find_elements_by_tag_name("li"))
+@pytest.mark.xfail_firefox
def test_dragging_element_with_mouse_fires_events(driver, pages):
_performDragAndDropWithMouse(driver, pages)
dragReporter = driver.find_element_by_id("dragging_reports")
