def METHOD_NAME(self) -> None:
    """Test Search function to filter the products"""
    product_rows = self.html_report_page.product_rows
    for i in range(product_rows.count()):
        expect(product_rows.nth(i)).to_be_visible()
    expect(product_rows).to_have_count(3)
    self.html_report_page.search_product("product0")
    filtered_row = product_rows.filter(
        has_text=re.compile(r"vendor0.*product0", flags=re.DOTALL)
    )
    unfiltered_row = product_rows.filter(has_text=re.compile(r"vendor1|product1"))
    self.check_products_visible_hidden(filtered_row, unfiltered_row)