def test_html_snapshot_with_suffix(browser, app_url):
    """Should add the suffix to the snapshot filename"""
    browser.visit(app_url)

    filename = browser.html_snapshot(suffix="xml")
    assert "xml" == filename[-3:]
Should add the suffix to the snapshot filename
tests/tests_webdriver/test_html_snapshot.py