Skip to content

Commit 7aa8caf

Browse files
[py] Update xfails for tests run under chrome
1 parent d6d672c commit 7aa8caf

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

py/test/selenium/webdriver/common/alerts_tests.py

+1
Original file line numberDiff line numberDiff line change
@@ -294,6 +294,7 @@ def testAlertShouldNotAllowAdditionalCommandsIfDismissed(driver, pages):
294294
reason='https://bugzilla.mozilla.org/show_bug.cgi?id=1279211')
295295
@pytest.mark.xfail_remote(
296296
reason='https://bugzilla.mozilla.org/show_bug.cgi?id=1279211')
297+
@pytest.mark.xfail_chrome
297298
def testUnexpectedAlertPresentExceptionContainsAlertText(driver, pages):
298299
pages.load("alerts.html")
299300
driver.find_element(by=By.ID, value="alert").click()

py/test/selenium/webdriver/common/click_scrolling_tests.py

+2
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ def testShouldBeAbleToClickElementThatIsOutOfViewInAFrameThatIsOutOfView(driver,
147147

148148

149149
@pytest.mark.xfail_firefox
150+
@pytest.mark.xfail_chrome
150151
def testShouldBeAbleToClickElementThatIsOutOfViewInANestedFrame(driver, pages):
151152
pages.load("scrolling_tests/page_with_nested_scrolling_frames.html")
152153
driver.switch_to.frame(driver.find_element(By.NAME, "scrolling_frame"))
@@ -158,6 +159,7 @@ def testShouldBeAbleToClickElementThatIsOutOfViewInANestedFrame(driver, pages):
158159

159160
@pytest.mark.xfail_firefox
160161
@pytest.mark.xfail_safari
162+
@pytest.mark.xfail_chrome
161163
def testShouldBeAbleToClickElementThatIsOutOfViewInANestedFrameThatIsOutOfView(driver, pages):
162164
pages.load("scrolling_tests/page_with_nested_scrolling_frames_out_of_view.html")
163165
driver.switch_to.frame(driver.find_element(By.NAME, "scrolling_frame"))

0 commit comments

Comments
 (0)