[py] Disable web component tests against Firefox
@@ -24,6 +24,8 @@ from selenium.webdriver.remote.shadowroot import ShadowRoot
@pytest.mark.xfail_safari
+@pytest.mark.xfail_firefox
+@pytest.mark.xfail_remote
def test_can_get_the_shadow_root_of_an_element(driver, pages):
pages.load("webComponents.html")
shadow_root = driver.find_element(By.CSS_SELECTOR, "custom-checkbox-element").shadow_root
@@ -31,6 +33,8 @@ def test_can_get_the_shadow_root_of_an_element(driver, pages):
@pytest.mark.xfail_safari
+@pytest.mark.xfail_firefox
+@pytest.mark.xfail_remote
def test_NoSuchShadowRoot_thrown_when_no_shadow_root(driver, pages):
with pytest.raises(NoSuchShadowRootException):
pages.load("simpleTest.html")
@@ -38,6 +42,8 @@ def test_NoSuchShadowRoot_thrown_when_no_shadow_root(driver, pages):
@pytest.mark.xfail_safari
+@pytest.mark.xfail_firefox
+@pytest.mark.xfail_remote
def test_returns_ShadowRoot_via_execute_script(driver, pages):
pages.load("webComponents.html")
custom_element = driver.find_element(By.CSS_SELECTOR, "custom-checkbox-element")
@@ -47,6 +53,8 @@ def test_returns_ShadowRoot_via_execute_script(driver, pages):
@pytest.mark.xfail_safari
+@pytest.mark.xfail_firefox
+@pytest.mark.xfail_remote
def test_can_find_element_in_a_shadowroot(driver, pages):
pages.load("webComponents.html")
custom_element = driver.find_element(By.CSS_SELECTOR, "custom-checkbox-element")
@@ -57,6 +65,8 @@ def test_can_find_element_in_a_shadowroot(driver, pages):
@pytest.mark.xfail_safari
+@pytest.mark.xfail_firefox
+@pytest.mark.xfail_remote
def test_can_find_elements_in_a_shadow_root(driver, pages):
pages.load("webComponents.html")
custom_element = driver.find_element(By.CSS_SELECTOR, "custom-checkbox-element")
