mirror of
https://github.com/servo/servo.git
synced 2025-08-09 15:35:34 +01:00
Implement wb element send keys for file input (#37224)
We can now send keys to file input, which results in uploading file with given filename. Needs `pref=dom_testing_html_input_element_select_files_enabled` flag to work. https://w3c.github.io/webdriver/#element-send-keys Testing: `tests/wpt/meta/webdriver/tests/classic/element_send_keys/{events, file_upload}.py.` Signed-off-by: PotatoCP <kenzieradityatirtarahardja18@gmail.com>
This commit is contained in:
parent
165ac32f18
commit
d66e4fc459
6 changed files with 78 additions and 55 deletions
|
@ -1,7 +1,4 @@
|
|||
[events.py]
|
||||
[test_file_upload]
|
||||
expected: FAIL
|
||||
|
||||
[test_form_control_send_text[input\]]
|
||||
expected: FAIL
|
||||
|
||||
|
|
|
@ -1,50 +1,19 @@
|
|||
[file_upload.py]
|
||||
expected: TIMEOUT
|
||||
[test_empty_text]
|
||||
expected: FAIL
|
||||
|
||||
[test_multiple_files]
|
||||
expected: FAIL
|
||||
|
||||
[test_multiple_files_last_path_not_found]
|
||||
expected: FAIL
|
||||
|
||||
[test_multiple_files_without_multiple_attribute]
|
||||
expected: FAIL
|
||||
|
||||
[test_multiple_files_send_twice]
|
||||
expected: FAIL
|
||||
|
||||
[test_multiple_files_reset_with_element_clear]
|
||||
expected: FAIL
|
||||
|
||||
[test_single_file]
|
||||
expected: FAIL
|
||||
|
||||
[test_single_file_replaces_without_multiple_attribute]
|
||||
expected: FAIL
|
||||
|
||||
[test_single_file_appends_with_multiple_attribute]
|
||||
expected: FAIL
|
||||
|
||||
[test_transparent]
|
||||
expected: FAIL
|
||||
|
||||
[test_obscured]
|
||||
expected: FAIL
|
||||
|
||||
[test_outside_viewport]
|
||||
expected: FAIL
|
||||
|
||||
[test_hidden]
|
||||
expected: FAIL
|
||||
|
||||
[test_display_none]
|
||||
expected: FAIL
|
||||
|
||||
[test_not_focused]
|
||||
expected: FAIL
|
||||
|
||||
[test_focused]
|
||||
expected: ERROR
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue