Skip to content

Commit

Permalink
[py] xfail chrome for non-w3c tests
Browse files Browse the repository at this point in the history
Signed-off-by: Lucas Tierney <lucast1533@gmail.com>
  • Loading branch information
lmtierney committed Jun 20, 2019
1 parent 7c302be commit d55972a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions py/test/selenium/webdriver/common/api_example_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -285,15 +285,15 @@ def testChangeWindowSize(driver, pages):
assert size['height'] == newSize[1]


@pytest.mark.xfail_marionette(
raises=WebDriverException)
@pytest.mark.xfail_chrome(raises=WebDriverException)
@pytest.mark.xfail_marionette(raises=WebDriverException)
def testGetLogTypes(driver, pages):
pages.load("blank.html")
assert isinstance(driver.log_types, list)


@pytest.mark.xfail_marionette(
raises=WebDriverException)
@pytest.mark.xfail_chrome(raises=WebDriverException)
@pytest.mark.xfail_marionette(raises=WebDriverException)
def testGetLog(driver, pages):
pages.load("blank.html")
for log_type in driver.log_types:
Expand Down
2 changes: 2 additions & 0 deletions py/test/selenium/webdriver/common/position_and_size_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ def testShouldScrollPageAndGetCoordinatesOfAnElementThatIsOutOfViewPort(driver,
_check_location(element.location, x=10, y=5010)


@pytest.mark.xfail_chrome
@pytest.mark.xfail_marionette
@pytest.mark.xfail_remote
def testShouldGetCoordinatesOfAnElementInAFrame(driver, pages):
Expand All @@ -66,6 +67,7 @@ def testShouldGetCoordinatesOfAnElementInAFrame(driver, pages):
_check_location(element.location, x=10, y=10)


@pytest.mark.xfail_chrome
@pytest.mark.xfail_marionette
@pytest.mark.xfail_remote
def testShouldGetCoordinatesOfAnElementInANestedFrame(driver, pages):
Expand Down

0 comments on commit d55972a

Please sign in to comment.