Skip to content

Commit 896dd20

Browse files
committed
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
1 parent 3b29ae0 commit 896dd20

File tree

1 file changed

+2
-1
lines changed
  • testing/web-platform/tests/webdriver/tests/classic/get_element_text

1 file changed

+2
-1
lines changed

testing/web-platform/tests/webdriver/tests/classic/get_element_text/get.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,8 @@ def test_read_element_text(session, inline):
9999
("foo bar", "Foo Bar"),
100100
("foo-bar", "Foo-Bar"),
101101
("foo_bar", "Foo_bar"),
102-
], ids=["space", "dash", "underscore"])
102+
("foo bár", "Foo Bár"),
103+
], ids=["space", "dash", "underscore", "accent"])
103104
def test_transform_capitalize(session, inline, text, expected):
104105
session.url = inline(
105106
f"""<div style="text-transform: capitalize;">{text}""")

0 commit comments

Comments
 (0)