Skip to content

Commit 8449278

Browse files
committed
hopefully more robust test dcc->ttbs001
1 parent d6cfb05 commit 8449278

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/dash-core-components/tests/integration/tooltip/test_tooltip.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ def update_tooltip_content(hoverData):
8080
assert 175 < coords[0] < 185, "x0 is about 200 minus half a marker size"
8181
assert 175 < coords[1] < 185, "y0 is about 200 minus half a marker size"
8282

83-
ActionChains(dash_dcc.driver).move_to_element_with_offset(elem, 0, 0).perform()
83+
ActionChains(dash_dcc.driver).move_to_element_with_offset(
84+
elem, 5, elem.size["height"] - 5
85+
).perform()
8486

8587
until(lambda: not dash_dcc.find_element("#graph-tooltip").is_displayed(), 3)

0 commit comments

Comments
 (0)