Skip to content

Commit 0df987f

Browse files
authored
test(bookmark): Add retries to flaky test (#1963)
1 parent 7851978 commit 0df987f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/playwright/shiny/bookmark/chat/client_state/test_bookmark_chat.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,15 @@
11
import re
22

3+
import pytest
34
from playwright.sync_api import Page
45

56
from shiny.playwright.controller import Chat
67
from shiny.run import ShinyAppProc
78

89

9-
def test_bookmark_chatlas(page: Page, local_app: ShinyAppProc):
10+
# Up to 5 retries for intermittent WebKit timing issues
11+
@pytest.mark.flaky(reruns=5, reruns_delay=1)
12+
def test_bookmark_chat(page: Page, local_app: ShinyAppProc):
1013

1114
page.goto(local_app.url)
1215

0 commit comments

Comments
 (0)