Skip to content
Permalink
Browse files

Add a HOST_FILE env variable and fix the wdspec setup errors that it …

…causes
  • Loading branch information...
georgeroman committed Jul 19, 2019
1 parent 5788e8c commit 1c4a35e22bff7025b23a2204eea412e9786f00c4
Showing with 5 additions and 230 deletions.
  1. +1 −1 python/servo/testing_commands.py
  2. +1 −6 tests/wpt/metadata/webdriver/tests/delete_session/delete.py.ini
  3. +0 −3 tests/wpt/metadata/webdriver/tests/element_send_keys/scroll_into_view.py.ini
  4. +0 −24 tests/wpt/metadata/webdriver/tests/element_send_keys/send_keys.py.ini
  5. +0 −9 tests/wpt/metadata/webdriver/tests/execute_script/properties.py.ini
  6. +0 −6 tests/wpt/metadata/webdriver/tests/find_element_from_element/find.py.ini
  7. +0 −3 tests/wpt/metadata/webdriver/tests/find_elements/find.py.ini
  8. +3 −9 tests/wpt/metadata/webdriver/tests/find_elements_from_element/find.py.ini
  9. +0 −3 tests/wpt/metadata/webdriver/tests/get_element_attribute/get.py.ini
  10. +0 −9 tests/wpt/metadata/webdriver/tests/get_element_css_value/get.py.ini
  11. +0 −6 tests/wpt/metadata/webdriver/tests/get_element_rect/get.py.ini
  12. +0 −3 tests/wpt/metadata/webdriver/tests/get_element_tag_name/get.py.ini
  13. +0 −3 tests/wpt/metadata/webdriver/tests/get_element_text/get.py.ini
  14. +0 −3 tests/wpt/metadata/webdriver/tests/get_named_cookie/get.py.ini
  15. +0 −102 tests/wpt/metadata/webdriver/tests/is_element_enabled/enabled.py.ini
  16. +0 −15 tests/wpt/metadata/webdriver/tests/is_element_selected/selected.py.ini
  17. +0 −3 tests/wpt/metadata/webdriver/tests/set_window_rect/set.py.ini
  18. +0 −7 tests/wpt/metadata/webdriver/tests/switch_to_frame/cross_origin.py.ini
  19. +0 −9 tests/wpt/metadata/webdriver/tests/switch_to_frame/switch.py.ini
  20. +0 −6 tests/wpt/metadata/webdriver/tests/switch_to_parent_frame/switch.py.ini
@@ -396,7 +396,7 @@ def test_wpt_android(self, release=False, dev=False, binary_args=None, **kwargs)
def _test_wpt(self, android=False, **kwargs):
self.set_run_env(android)
hosts_file_path = path.join(self.context.topdir, 'tests', 'wpt', 'hosts')
os.environ["hosts_file_path"] = hosts_file_path
os.environ["HOST_FILE"] = hosts_file_path
run_file = path.abspath(path.join(self.context.topdir, "tests", "wpt", "run.py"))
return self.wptrunner(run_file, **kwargs)

@@ -1,7 +1,2 @@
[delete.py]
[test_null_response_value]
expected: FAIL

[test_dismissed_beforeunload_prompt]
expected: FAIL

disabled: Triggers setup errors in other tests
@@ -1,7 +1,4 @@
[scroll_into_view.py]
[test_element_outside_of_not_scrollable_viewport]
expected: FAIL

[test_option_select_container_outside_of_scrollable_viewport]
expected: FAIL

@@ -1,28 +1,4 @@
[send_keys.py]
[test_invalid_text_type[value4\]]
expected: FAIL

[test_invalid_text_type[None\]]
expected: FAIL

[test_null_response_value]
expected: FAIL

[test_invalid_text_type[value3\]]
expected: FAIL

[test_invalid_text_type[1\]]
expected: FAIL

[test_null_parameter_value]
expected: FAIL

[test_stale_element]
expected: FAIL

[test_no_browsing_context]
expected: ERROR

[test_invalid_text_type[True\]]
expected: FAIL

@@ -2,12 +2,3 @@
[test_idl_attribute_element]
expected: FAIL

[test_script_defining_property]
expected: FAIL

[test_content_attribute]
expected: FAIL

[test_idl_attribute]
expected: FAIL

@@ -59,12 +59,6 @@
[test_find_element_partial_link_text[<a href=#>PARTIAL LINK TEXT</a>-LINK\]]
expected: FAIL

[test_null_parameter_value]
expected: FAIL

[test_find_element[css selector-#linkText\]]
expected: FAIL

[test_find_element_partial_link_text[<a href=#>partial link text</a>-k t\]]
expected: FAIL

@@ -5,9 +5,6 @@
[test_find_elements_link_text[<a href=#>LINK TEXT</a>-LINK TEXT\]]
expected: FAIL

[test_find_elements[css selector-#linkText\]]
expected: FAIL

[test_htmldocument[tag name-html\]]
expected: FAIL

@@ -1,19 +1,16 @@
[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[css selector-#linkText\]]
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-full link text\]]
expected: FAIL

@@ -50,9 +47,6 @@
[test_no_element[css selector-#wontExist\]]
expected: FAIL

[test_null_parameter_value]
expected: FAIL

[test_find_elements_partial_link_text[<a href=#>partial link&amp;text</a>-k&t\]]
expected: FAIL

@@ -35,9 +35,6 @@
[test_boolean_attribute[audio-attrs0\]]
expected: FAIL

[test_element_stale]
expected: FAIL

[test_normal]
expected: FAIL

@@ -1,16 +1,7 @@
[get.py]
[test_property_name_not_existent]
expected: FAIL

[test_element_not_found]
expected: FAIL

[test_element_stale]
expected: FAIL

[test_property_name_value]
expected: FAIL

[test_no_browsing_context]
expected: ERROR

@@ -2,12 +2,6 @@
[test_element_not_found]
expected: FAIL

[test_element_stale]
expected: FAIL

[test_no_browsing_context]
expected: ERROR

[test_basic]
expected: FAIL

@@ -2,9 +2,6 @@
[test_element_not_found]
expected: FAIL

[test_element_stale]
expected: FAIL

[test_no_browsing_context]
expected: ERROR

@@ -5,6 +5,3 @@
[test_no_browsing_context]
expected: ERROR

[test_read_element_text]
expected: FAIL

@@ -2,9 +2,6 @@
[test_no_browsing_context]
expected: ERROR

[test_duplicated_cookie]
expected: FAIL

[test_get_named_cookie]
expected: FAIL

@@ -1,106 +1,4 @@
[enabled.py]
[test_xhtml_form_control_enabled[input\]]
expected: FAIL

[test_fieldset_enabled_descendant[button\]]
expected: FAIL

[test_fieldset_enabled_descendant_legend[input\]]
expected: FAIL

[test_xhtml_form_control_enabled[textarea\]]
expected: FAIL

[test_form_control_disabled[textarea\]]
expected: FAIL

[test_fieldset_disabled_descendant_legend[button\]]
expected: FAIL

[test_xhtml_form_control_disabled[button\]]
expected: FAIL

[test_form_control_enabled[select\]]
expected: FAIL

[test_xhtml_form_control_disabled[textarea\]]
expected: FAIL

[test_xhtml_form_control_disabled[select\]]
expected: FAIL

[test_fieldset_disabled_descendant_legend[select\]]
expected: FAIL

[test_fieldset_disabled_descendant[input\]]
expected: FAIL

[test_xhtml_form_control_enabled[select\]]
expected: FAIL

[test_form_control_disabled[select\]]
expected: FAIL

[test_form_control_enabled[input\]]
expected: FAIL

[test_fieldset_disabled_descendant_legend[input\]]
expected: FAIL

[test_form_control_enabled[button\]]
expected: FAIL

[test_xml_always_not_enabled]
expected: FAIL

[test_fieldset_enabled_descendant[select\]]
expected: FAIL

[test_fieldset_disabled_descendant_legend[textarea\]]
expected: FAIL

[test_fieldset_enabled_descendant[textarea\]]
expected: FAIL

[test_element_stale]
expected: FAIL

[test_fieldset_enabled_descendant[input\]]
expected: FAIL

[test_form_control_enabled[textarea\]]
expected: FAIL

[test_form_control_disabled[button\]]
expected: FAIL

[test_fieldset_disabled_descendant[select\]]
expected: FAIL

[test_fieldset_disabled_descendant[button\]]
expected: FAIL

[test_xhtml_form_control_enabled[button\]]
expected: FAIL

[test_form_control_disabled[input\]]
expected: FAIL

[test_fieldset_enabled_descendant_legend[button\]]
expected: FAIL

[test_fieldset_enabled_descendant_legend[textarea\]]
expected: FAIL

[test_fieldset_disabled_descendant[textarea\]]
expected: FAIL

[test_fieldset_enabled_descendant_legend[select\]]
expected: FAIL

[test_no_browsing_context]
expected: ERROR

[test_xhtml_form_control_disabled[input\]]
expected: FAIL

@@ -1,19 +1,4 @@
[selected.py]
[test_checkbox_not_selected]
expected: FAIL

[test_element_stale]
expected: FAIL

[test_element_selected]
expected: FAIL

[test_element_checked]
expected: FAIL

[test_element_not_selected]
expected: FAIL

[test_no_browsing_context]
expected: ERROR

@@ -41,6 +41,3 @@
[test_height_width_larger_than_max]
expected: FAIL

[test_negative_x_y]
expected: FAIL

This file was deleted.

@@ -5,15 +5,9 @@
[test_frame_id_webelement_frame[1-bar\]]
expected: FAIL

[test_frame_id_webelement_iframe[1-bar\]]
expected: FAIL

[test_frame_id_webelement_frame[0-foo\]]
expected: FAIL

[test_frame_id_webelement_iframe[0-foo\]]
expected: FAIL

[test_frame_id_webelement_no_element_reference]
expected: FAIL

@@ -23,9 +17,6 @@
[test_frame_id_number_index[0-foo\]]
expected: FAIL

[test_frame_id_null]
expected: FAIL

[test_frame_id_webelement_stale_reference]
expected: FAIL

@@ -1,10 +1,4 @@
[switch.py]
[test_null_response_value]
expected: FAIL

[test_no_browsing_context]
expected: ERROR

[test_stale_element_from_iframe]
expected: FAIL

0 comments on commit 1c4a35e

Please sign in to comment.
You can’t perform that action at this time.