Skip to content

Commit acde803

Browse files
committed
fix tests that started failing due to adjusted slider input widths
1 parent 5a649c4 commit acde803

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

components/dash-core-components/tests/integration/misc/test_persistence.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def make_output(*args):
168168
["4️⃣", "6️⃣"],
169169
"yes maybe",
170170
"r",
171-
[5, 9],
171+
[5, 8],
172172
22,
173173
"C",
174174
"knock knock\nwho's there?",

components/dash-core-components/tests/integration/sliders/test_sliders.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def update_output(value):
3030
dash_dcc.click_at_coord_fractions(slider, 0.5, 0.25)
3131
dash_dcc.wait_for_text_to_equal("#out", "You have selected 11")
3232
dash_dcc.click_at_coord_fractions(slider, 0.75, 0.25)
33-
dash_dcc.wait_for_text_to_equal("#out", "You have selected 17")
33+
dash_dcc.wait_for_text_to_equal("#out", "You have selected 16")
3434

3535
assert dash_dcc.get_logs() == []
3636

@@ -265,7 +265,7 @@ def update_output2(value):
265265

266266
dash_dcc.click_and_hold_at_coord_fractions(slider, 0.25, 0.25)
267267
dash_dcc.move_to_coord_fractions(slider, 0.75, 0.25)
268-
dash_dcc.wait_for_text_to_equal("#out-drag-value", "You have dragged 17")
268+
dash_dcc.wait_for_text_to_equal("#out-drag-value", "You have dragged 16")
269269
dash_dcc.move_to_coord_fractions(slider, 0.5, 0.25)
270270
dash_dcc.wait_for_text_to_equal("#out-drag-value", "You have dragged 11")
271271
dash_dcc.wait_for_text_to_equal("#out-value", "You have selected 5")

0 commit comments

Comments
 (0)