Skip to content

Commit 9478e85

Browse files
committed
fixup percy snapshot name
1 parent ac91239 commit 9478e85

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/integration/base/test_plotly_graph.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ def jl_test_file_path(filename):
1010

1111
def _run_test(dashjl, filename, percy_snapshot_prefix):
1212
fp = jl_test_file_path(filename)
13+
name = f"{percy_snapshot_prefix} figure callback"
14+
1315
dashjl.start_server(fp)
1416
dashjl.wait_for_element_by_css_selector("#graph", timeout=20)
1517

@@ -18,7 +20,7 @@ def _run_test(dashjl, filename, percy_snapshot_prefix):
1820

1921
dashjl.find_element("#draw").click()
2022
dashjl.wait_for_text_to_equal("#status", "second", timeout=10)
21-
dashjl.percy_snapshot(name="f{percy_snapshot_prefix} figure callback")
23+
dashjl.percy_snapshot(name=name)
2224

2325

2426
def test_jlpg001_plotly_graph(dashjl):

0 commit comments

Comments
 (0)