Skip to content

Commit e795cdb

Browse files
committed
laxer condition in test
1 parent 60664e8 commit e795cdb

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/test_background_events.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ def test_background_events(
3838
expect(heading).to_have_text("0 /")
3939

4040
start_button.click()
41-
expect(heading).to_have_text("6 /")
41+
expect(heading).to_have_text(["5 /", "6 /"])
42+
4243
reset_button.click()
4344
expect(heading).to_have_text("0 /")
44-
expect(heading).to_have_text("10 /", timeout=10000)
45+
expect(heading).to_have_text("10 /", timeout=12000)

0 commit comments

Comments
 (0)