Skip to content

Commit 70b9be4

Browse files
authored
fix(tests): Extend first-assertion timeout in flaky table test (#2354)
1 parent 0641b3e commit 70b9be4

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

tests/playwright/shiny/components/table/test_table.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
def test_table_data_support(page: Page, local_app: ShinyAppProc) -> None:
1010
page.goto(local_app.url)
1111

12-
controller.OutputTable(page, "nw_table").expect_nrow(2)
12+
# The first expectation after page load absorbs the initial render flush,
13+
# which can exceed the default 5s timeout on a loaded CI runner.
14+
controller.OutputTable(page, "nw_table").expect_nrow(2, timeout=30 * 1000)
1315
controller.OutputCode(page, "nw_df_type").expect_value(re.compile("narwhals"))
1416

1517
controller.OutputTable(page, "pd_table").expect_nrow(2)

0 commit comments

Comments
 (0)