As part of Dash 1.0.0 release,
dash.testing provides some off-the-rack
pytest fixtures and a minimal set of testing APIs with our internal crafted best practices at the integration level.
It’s blazing-fast to test dash apps with Selenium,
and super easy to write your first web automation test.
def test_demo_official_doc_site(dash_br): dash_br.server_url = 'https://dash.plot.ly/testing' assert dash_br.wait_for_element("h1").text == "Dash Testing" assert dash_br.get_logs() == , "browser console should contain no error" dash_br.percy_snapshot("dash testing page")
See full testing document here