Skip to content

Commit e7f4666

Browse files
committed
adjustment for failing test
1 parent 8c23c3a commit e7f4666

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tests/integration/renderer/test_redraw.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ def on_click(_):
2929

3030
dash_duo.wait_for_text_to_equal("#counter", "1")
3131
dash_duo.find_element("#redraw").click()
32-
dash_duo.wait_for_text_to_equal("#counter", "2")
32+
# dash_duo.wait_for_text_to_equal("#counter", "2")
33+
# time.sleep(1)
34+
# dash_duo.wait_for_text_to_equal("#counter", "2")
35+
36+
## the above was changed due to a mechanism change that generates a new React component, thus resetting the counter
37+
dash_duo.wait_for_text_to_equal("#counter", "1")
3338
time.sleep(1)
34-
dash_duo.wait_for_text_to_equal("#counter", "2")
39+
dash_duo.wait_for_text_to_equal("#counter", "1")

0 commit comments

Comments
 (0)