mirror of
https://github.com/servo/servo.git
synced 2025-09-04 03:58:23 +01:00
script(webdriver): Element send keys append to the end of filelist
if Multiple (#38407)
Step 8.6 of [Element Send Keys](https://w3c.github.io/webdriver/#dfn-element-send-keys) remote end's implementation. > 6. Complete implementation specific steps equivalent to setting the [selected files](https://w3c.github.io/webdriver/#dfn-selected-files) on the [input](https://w3c.github.io/webdriver/#dfn-input) element. **If multiple is true files are be appended to element's [selected files](https://w3c.github.io/webdriver/#dfn-selected-files).** Testing: `webdriver/tests/classic/element_send_keys/file_upload.py` Fixes: https://github.com/servo/servo/issues/38190 --------- Signed-off-by: PotatoCP <Kenzie.Raditya.Tirtarahardja@huawei.com> Co-authored-by: Euclid Ye <euclid.ye@huawei.com>
This commit is contained in:
parent
011b314478
commit
a75f3fd09b
2 changed files with 16 additions and 6 deletions
|
@ -1,10 +1,4 @@
|
|||
[file_upload.py]
|
||||
[test_multiple_files_send_twice]
|
||||
expected: FAIL
|
||||
|
||||
[test_single_file_appends_with_multiple_attribute]
|
||||
expected: FAIL
|
||||
|
||||
[test_strict_hidden]
|
||||
expected: FAIL
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue