commit f83ffb4848fc85f6c458e13bce3f09b9553718c2
parent 609c38bdbf7b08d1cb2474cdcfd6eb555d536b41
Author: Julian Descottes <jdescottes@mozilla.com>
Date: Fri, 31 Oct 2025 15:25:39 +0000
Bug 1941270 - [wdspec] Fix wdspec tests for browsingContext.locateNodes r=Sasha
Differential Revision: https://phabricator.services.mozilla.com/D270838
Diffstat:
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/testing/web-platform/meta/webdriver/tests/bidi/browsing_context/locate_nodes/invalid.py.ini b/testing/web-platform/meta/webdriver/tests/bidi/browsing_context/locate_nodes/invalid.py.ini
@@ -2,6 +2,3 @@
[test_params_locator_value_invalid_value[innerText-\]]
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1869538
expected: FAIL
-
- [test_params_locator_value_invalid_value[context-value4\]]
- expected: FAIL
diff --git a/testing/web-platform/tests/webdriver/tests/bidi/browsing_context/locate_nodes/invalid.py b/testing/web-platform/tests/webdriver/tests/bidi/browsing_context/locate_nodes/invalid.py
@@ -97,7 +97,7 @@ async def test_params_locator_context_value_invalid_type(bidi_session, inline,
)
-@pytest.mark.parametrize("value", ["non_exiting_context"])
+@pytest.mark.parametrize("value", ["", "non_existing_context"])
async def test_params_locator_context_value_invalid_context(bidi_session,
inline, top_context, value):
await navigate_to_page(bidi_session, inline, top_context)
@@ -114,8 +114,7 @@ async def test_params_locator_context_value_invalid_context(bidi_session,
("css", "a*b"),
("xpath", ""),
("innerText", ""),
- ("accessibility", {}),
- ("context", {"context": ""})
+ ("accessibility", {})
])
async def test_params_locator_value_invalid_value(bidi_session, inline, top_context, type, value):
await navigate_to_page(bidi_session, inline, top_context)