docstr: Test if the component runs correctly with different boilrepy3 extractors.
docstr_tok: ["Test","if","the","component","runs","correctly","with","different","boilrepy3","extractors","."]
code: def test_run_different_extractors(self, test_files_path):
      """
      Test if the component runs correctly with different boilrepy3 extractors.
      """
      sources = [test_files_path / "html" / "what_is_haystack.html"]
  
      converter_article = HTMLToDocument(
          extractor_type="ArticleExtractor"
      )
      converter_keep_everything = HTMLToDocument(
          extractor_type="KeepEverythingExtractor"
      )
  
      doc_article = converter_article.run(sources=sources)["documents"][
          0
      ]
      doc_keep_everything = converter_keep_everything.run(
          sources=sources
      )["documents"][0]
  
      assert len(doc_keep_everything.content) > len(doc_article.content)
  
file_path: haystack/test/components/converters/test_html_to_document.py
imports: import logging
  import pytest
  from haystack.components.converters import HTMLToDocument
  from haystack.dataclasses import ByteStream
label_desc: Use image node_id 2 for calling the TestHTMLToDocument obj's underlying member method code with example usage: obj.test_run_different_extractors(test_files_path) without return types