Skip to content

Commit 4faf64d

Browse files
committed
test typo
1 parent 70af21e commit 4faf64d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/dash-core-components/tests/integration/graph/test_graph_varia.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@ def test_grva011_without_mathjax(dash_dcc, is_eager):
913913
dash_dcc.start_server(app)
914914
assert dash_dcc.wait_for_element(".gtitle").text == "Apple: $2, Orange: $3"
915915

916-
assert not dash_dcc.driver.execute_script("return !!Window.MathJax")
916+
assert not dash_dcc.driver.execute_script("return !!window.MathJax")
917917

918918
assert dash_dcc.get_logs() == []
919919

@@ -938,7 +938,7 @@ def test_grva012_with_mathjax(dash_dcc, is_eager):
938938
dash_dcc.start_server(app)
939939
dash_dcc.wait_for_element(".gtitle-math")
940940

941-
assert dash_dcc.driver.execute_script("return !!Window.MathJax")
941+
assert dash_dcc.driver.execute_script("return !!window.MathJax")
942942

943943
assert dash_dcc.get_logs() == []
944944

0 commit comments

Comments
 (0)