Skip to content

Commit 72132c2

Browse files
committed
fix callback graph test for new node IDs
1 parent 2b1a106 commit 72132c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/integration/devtools/test_devtools_ui.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def test_dvui003_callback_graph(dash_duo):
102102

103103
pos = dash_duo.driver.execute_script(
104104
"""
105-
const pos = store.getState().profile.graphLayout.positions['new-item.value'];
105+
const pos = store.getState().profile.graphLayout.positions['new-item.Xvalue'];
106106
pos.y -= 100;
107107
return pos.y;
108108
"""
@@ -119,7 +119,7 @@ def test_dvui003_callback_graph(dash_duo):
119119
# the manually moved node is still in its new position
120120
assert pos == dash_duo.driver.execute_script(
121121
"""
122-
const pos = store.getState().profile.graphLayout.positions['new-item.value'];
122+
const pos = store.getState().profile.graphLayout.positions['new-item.Xvalue'];
123123
return pos.y;
124124
"""
125125
)

0 commit comments

Comments
 (0)