commit 896dd20402885d5bbd6e09fa203f859cb8c62513
parent 3b29ae0539fcad56e42052fdf3f5f5d328b9a436
Author: Henrik Skupin <mail@hskupin.info>
Date: Tue, 28 Oct 2025 07:02:32 +0000
Bug 1986392 - [wdspec] Add test for "Element Get Text" with accent character. r=webdriver-reviewers-rotation,Sasha
Differential Revision: https://phabricator.services.mozilla.com/D269543
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/testing/web-platform/tests/webdriver/tests/classic/get_element_text/get.py b/testing/web-platform/tests/webdriver/tests/classic/get_element_text/get.py
@@ -99,7 +99,8 @@ def test_read_element_text(session, inline):
("foo bar", "Foo Bar"),
("foo-bar", "Foo-Bar"),
("foo_bar", "Foo_bar"),
-], ids=["space", "dash", "underscore"])
+ ("foo bár", "Foo Bár"),
+], ids=["space", "dash", "underscore", "accent"])
def test_transform_capitalize(session, inline, text, expected):
session.url = inline(
f"""<div style="text-transform: capitalize;">{text}""")