Skip to content

Commit

Permalink
[py] add chrome to w3c interaction tests
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Tierney <[email protected]>
  • Loading branch information
lmtierney committed Jun 20, 2019
1 parent d55972a commit 2748e5d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions py/test/selenium/webdriver/common/w3c_interaction_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ def test_should_be_able_to_get_pointer_and_keyboard_inputs(driver, pages):
assert keyboards is not None


@pytest.mark.xfail_chrome
@pytest.mark.xfail_firefox
@pytest.mark.xfail_remote(
reason='https://github.com/mozilla/geckodriver/issues/646')
Expand All @@ -53,7 +52,6 @@ def testSendingKeysToActiveElementWithModifier(driver, pages):
assert "ABC" == e.get_attribute('value')


@pytest.mark.xfail_chrome
@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
Expand Down Expand Up @@ -98,7 +96,6 @@ def test_can_clear_actions(driver, pages):
actions.clear_actions()


@pytest.mark.xfail_chrome
@pytest.mark.xfail_firefox
def test_move_and_click(driver, pages):
pages.load("javascriptPage.html")
Expand All @@ -114,7 +111,6 @@ def test_move_and_click(driver, pages):
assert "Clicked" == toClick.get_attribute('value')


@pytest.mark.xfail_chrome
@pytest.mark.xfail_firefox
def testDragAndDrop(driver, pages):
"""Copied from org.openqa.selenium.interactions.TestBasicMouseInterface."""
Expand All @@ -141,7 +137,6 @@ def testDragAndDrop(driver, pages):
assert "Dropped!" == text


@pytest.mark.xfail_chrome
@pytest.mark.xfail_firefox
def test_context_click(driver, pages):

Expand All @@ -156,7 +151,6 @@ def test_context_click(driver, pages):
assert "ContextClicked" == toContextClick.get_attribute('value')


@pytest.mark.xfail_chrome
@pytest.mark.xfail_firefox
def test_double_click(driver, pages):
"""Copied from org.openqa.selenium.interactions.TestBasicMouseInterface."""
Expand All @@ -172,15 +166,13 @@ def test_double_click(driver, pages):
assert "DoubleClicked" == toDoubleClick.get_attribute('value')


@pytest.mark.xfail_chrome
@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_chrome
@pytest.mark.xfail_firefox
def test_dragging_element_with_mouse_fires_events(driver, pages):
_performDragAndDropWithMouse(driver, pages)
Expand Down

0 comments on commit 2748e5d

Please sign in to comment.