Add support for returning array-like types from the Execute(Async)Script wd command

This commit is contained in:
George Roman 2019-07-03 22:53:40 +03:00
parent b3c0ed295f
commit 58f80f4ff3
22 changed files with 88 additions and 187 deletions

View file

@ -5,12 +5,6 @@
[test_form_control_send_text[textarea\]]
expected: FAIL
[test_not_blurred[input\]]
expected: FAIL
[test_file_upload]
expected: FAIL
[test_not_blurred[textarea\]]
expected: FAIL

View file

@ -1,13 +1,2 @@
[form_controls.py]
[test_textarea]
expected: FAIL
[test_input_append]
expected: FAIL
[test_textarea_append]
expected: FAIL
[test_input]
expected: FAIL
disabled: Triggers setup errors in other tests

View file

@ -1,25 +1,10 @@
[collections.py]
[test_html_form_controls_collection]
expected: FAIL
[test_html_options_collection]
expected: FAIL
[test_file_list]
expected: FAIL
[test_arguments]
expected: FAIL
[test_html_collection]
expected: FAIL
[test_array]
expected: FAIL
[test_node_list]
expected: FAIL
[test_html_all_collection]
expected: FAIL

View file

@ -1,19 +1,13 @@
[cyclic.py]
[test_element_in_collection]
expected: FAIL
[test_object_in_array]
expected: FAIL
[test_object]
expected: FAIL
[test_array]
expected: FAIL
[test_array_in_object]
expected: FAIL
[test_element_in_object]
expected: FAIL
[test_element_in_collection]
expected:
if os == "mac": FAIL

View file

@ -23,6 +23,3 @@
[test_abort_by_user_prompt_twice[alert\]]
expected: FAIL
[test_override_listeners]
expected: FAIL

View file

@ -1,4 +0,0 @@
[properties.py]
[test_idl_attribute_element]
expected: FAIL

View file

@ -1,25 +1,13 @@
[find.py]
[test_xhtml_namespace[css selector-#linkText\]]
expected: FAIL
[test_htmldocument[xpath-/html\]]
expected: FAIL
[test_xhtml_namespace[xpath-//*[name()='a'\]\]]
expected: FAIL
[test_xhtml_namespace[tag name-a\]]
expected: FAIL
[test_xhtml_namespace[link text-full link text\]]
expected: FAIL
[test_no_element[css selector-#wontExist\]]
expected: FAIL
[test_xhtml_namespace[partial link text-link text\]]
expected: FAIL
[test_find_element[xpath-//a\]]
expected: FAIL

View file

@ -1,28 +1,16 @@
[find.py]
[test_xhtml_namespace[css selector-#linkText\]]
expected: FAIL
[test_xhtml_namespace[xpath-//*[name()='a'\]\]]
expected: FAIL
[test_parent_htmldocument]
expected: FAIL
[test_xhtml_namespace[tag name-a\]]
expected: FAIL
[test_xhtml_namespace[link text-full link text\]]
expected: FAIL
[test_parent_of_document_node_errors]
expected: FAIL
[test_no_element[css selector-#wontExist\]]
expected: FAIL
[test_xhtml_namespace[partial link text-link text\]]
expected: FAIL
[test_find_element[xpath-//a\]]
expected: FAIL

View file

@ -1,64 +1,25 @@
[find.py]
[test_xhtml_namespace[css selector-#linkText\]]
expected: FAIL
[test_find_elements_link_text[<a href=#>LINK TEXT</a>-LINK TEXT\]]
expected: FAIL
[test_find_elements_link_text[<a href=#>link text</a>-link text\]]
expected: FAIL
[test_xhtml_namespace[xpath-//*[name()='a'\]\]]
expected: FAIL
[test_find_elements_link_text[<a href=# style='text-transform: uppercase'>link text</a>-LINK TEXT\]]
expected: FAIL
[test_find_elements_partial_link_text[<a href=#>&nbsp;partial link text&nbsp;</a>-link\]]
expected: FAIL
[test_xhtml_namespace[partial link text-link text\]]
expected: FAIL
[test_find_elements_partial_link_text[<a href=#>partial link<br>text</a>-k\nt\]]
expected: FAIL
[test_find_elements_link_text[<a href=#>&nbsp;link text&nbsp;</a>-link text\]]
expected: FAIL
[test_htmldocument[xpath-/html\]]
expected: FAIL
[test_xhtml_namespace[link text-full link text\]]
expected: FAIL
[test_find_elements_partial_link_text[<a href=#>partial link text</a>-k t\]]
expected: FAIL
[test_find_elements_partial_link_text[<a href=#>partial link&amp;text</a>-k&t\]]
expected: FAIL
[test_find_elements[xpath-//a\]]
expected: FAIL
[test_find_elements_partial_link_text[<a href=# style='text-transform: uppercase'>partial link text</a>-LINK\]]
expected: FAIL
[test_find_elements_partial_link_text[<a href=#>PARTIAL LINK TEXT</a>-LINK\]]
expected: FAIL
[test_find_elements_link_text[<a href=#>link<br>text</a>-link\ntext\]]
expected: FAIL
[test_find_elements_link_text[<a href=#>link&amp;text</a>-link&text\]]
expected: FAIL
[test_find_elements_partial_link_text[<a href=#>partial link text</a>-link\]]
expected: FAIL
[test_no_browsing_context]
expected: ERROR
[test_xhtml_namespace[tag name-a\]]
expected: FAIL

View file

@ -1,67 +1,28 @@
[find.py]
[test_find_elements_link_text[<a href=#>LINK TEXT</a>-LINK TEXT\]]
expected: FAIL
[test_find_elements_link_text[<a href=#>link text</a>-link text\]]
expected: FAIL
[test_xhtml_namespace[xpath-//*[name()='a'\]\]]
expected: FAIL
[test_xhtml_namespace[css selector-#linkText\]]
expected: FAIL
[test_find_elements_link_text[<a href=# style='text-transform: uppercase'>link text</a>-LINK TEXT\]]
expected: FAIL
[test_find_elements_partial_link_text[<a href=#>&nbsp;partial link text&nbsp;</a>-link\]]
expected: FAIL
[test_xhtml_namespace[partial link text-link text\]]
expected: FAIL
[test_find_elements_partial_link_text[<a href=#>partial link<br>text</a>-k\nt\]]
expected: FAIL
[test_find_elements_link_text[<a href=#>&nbsp;link text&nbsp;</a>-link text\]]
expected: FAIL
[test_parent_htmldocument]
expected: FAIL
[test_xhtml_namespace[link text-full link text\]]
expected: FAIL
[test_find_elements_partial_link_text[<a href=#>partial link text</a>-k t\]]
expected: FAIL
[test_parent_of_document_node_errors]
expected: FAIL
[test_find_elements_partial_link_text[<a href=#>partial link&amp;text</a>-k&t\]]
expected: FAIL
[test_find_elements[xpath-//a\]]
expected: FAIL
[test_find_elements_partial_link_text[<a href=# style='text-transform: uppercase'>partial link text</a>-LINK\]]
expected: FAIL
[test_find_elements_partial_link_text[<a href=#>PARTIAL LINK TEXT</a>-LINK\]]
expected: FAIL
[test_find_elements_link_text[<a href=#>link<br>text</a>-link\ntext\]]
expected: FAIL
[test_find_elements_link_text[<a href=#>link&amp;text</a>-link&text\]]
expected: FAIL
[test_find_elements_partial_link_text[<a href=#>partial link text</a>-link\]]
expected: FAIL
[test_no_browsing_context]
expected: ERROR
[test_xhtml_namespace[tag name-a\]]
expected: FAIL

View file

@ -1,22 +1,7 @@
[get.py]
[test_sucess_input_non_interactable]
expected: FAIL
[test_success_document]
expected: FAIL
[test_sucess_input]
expected: FAIL
[test_success_explicit_focus]
expected: FAIL
[test_no_browsing_context]
expected: ERROR
[test_missing_document_element]
expected: FAIL
[test_success_iframe_content]
expected: FAIL

View file

@ -2,6 +2,3 @@
[test_no_browsing_context]
expected: ERROR
[test_get_current_url_nested_browsing_context]
expected: FAIL

View file

@ -11,9 +11,6 @@
[test_primitives_set_by_execute_script[42-42\]]
expected: FAIL
[test_primitives[js_primitive2-py_primitive2\]]
expected: FAIL
[test_primitives_set_by_execute_script[js_primitive2-py_primitive2\]]
expected: FAIL

View file

@ -1,7 +1,4 @@
[get.py]
[test_title_from_frame]
expected: FAIL
[test_no_browsing_context]
expected: ERROR

View file

@ -2,6 +2,3 @@
[test_no_browsing_context]
expected: ERROR
[test_format_and_dimensions]
expected: FAIL