Bug 1789967 - part 5: Mark all tests in webdriver/tests/element_send_keys/content_editable.py as known failures r=webdriver-reviewers,whimboo

According to the issue which added the test, the test intended that web driver
collapsing selection to end of the last editable text node at sending the text
do an editable element.  However, it seems that GeckoDriver does not do it but
the test accidentally passed since `HTMLEditor` has collapsed selection to end
of last leaf node even if the node is not editable.  Therefore, the test does
not check what the author expected enough (e.g., when there is another node
at end of the `<body>`, when there is a collapsed selection range outside
editor, when another editable element has focus).

Therefore, we can just mark the tests as known failures since we've not
explicitly support the behavior yet.

Differential Revision: https://phabricator.services.mozilla.com/D157777
This commit is contained in:
Masayuki Nakano 2022-09-22 06:27:38 +00:00
parent fc89971ea6
commit ae2d6466aa

View File

@ -0,0 +1,8 @@
[content_editable.py]
[test_sets_insertion_point_to_end]
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1364426
expected: FAIL
[test_sets_insertion_point_to_after_last_text_node]
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1364426
expected: FAIL