diff --git a/test_unstructured/partition/html/test_html_to_ontology_parsing.py b/test_unstructured/partition/html/test_html_to_ontology_parsing.py index c67431e022..677ff11569 100644 --- a/test_unstructured/partition/html/test_html_to_ontology_parsing.py +++ b/test_unstructured/partition/html/test_html_to_ontology_parsing.py @@ -607,4 +607,5 @@ def test_text_in_form_field_value(): assert len(page.children) == 1 form_field_value = page.children[0] - assert form_field_value.text == "Random Input Value" + assert form_field_value.text == "" + assert form_field_value.to_text() == "Random Input Value"