Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Commit 6c9bcda

Browse files
authored
verify that value only changes on mouseup while drag_value changes on drag
1 parent 1322548 commit 6c9bcda

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/integration/sliders/test_sliders.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ def update_output(value):
198198
dash_dcc.wait_for_text_to_equal("#out-drag-value", "You have dragged 15")
199199
dash_dcc.move_to_coord_fractions(slider, 0.5, 0.25)
200200
dash_dcc.wait_for_text_to_equal("#out-drag-value", "You have dragged 10")
201+
dash_dcc.wait_for_text_to_equal("#out-value", "You have selected 5")
201202
dash_dcc.release()
202203
dash_dcc.wait_for_text_to_equal("#out-value", "You have selected 10")
203204

@@ -237,5 +238,6 @@ def update_output(value):
237238
dash_dcc.click_and_hold_at_coord_fractions(slider, 0.25, 0.25)
238239
dash_dcc.move_to_coord_fractions(slider, 0.5, 0.25)
239240
dash_dcc.wait_for_text_to_equal("#out-drag-value", "You have dragged 10-15")
241+
dash_dcc.wait_for_text_to_equal("#out-value", "You have selected 5-15")
240242
dash_dcc.release()
241243
dash_dcc.wait_for_text_to_equal("#out-value", "You have selected 10-15")

0 commit comments

Comments
 (0)