Skip to content

Commit a381212

Browse files
committed
Update tests
1 parent 6859607 commit a381212

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/playwright/ai_generated_apps/core_express/input_text_area/test_input_text_area_core_express.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def test_text_area_demo(page: Page, app: ShinyAppProc) -> None:
1919
"This is some default text.\nIt has multiple lines.\nYou can edit it!"
2020
)
2121
text_area.expect_width("500px")
22-
text_area.expect_height("194px") # 200px - padding
22+
text_area.expect_height("190px") # 200px - padding
2323
text_area.expect_cols("50")
2424
text_area.expect_rows("8")
2525
text_area.expect_placeholder("Type something here...")

tests/playwright/shiny/inputs/input_text_area/autoresize/test_accordion_autoresize.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ def test_accordion(page: Page, local_app: ShinyAppProc, is_webkit: bool) -> None
3030
# Skip the rest of the test for webkit.
3131
# Heights are not consistent with chrome and firefox
3232
return
33-
expect_to_have_style(test_text_area.loc, "height", "127px")
34-
expect_to_have_style(test_text_area_w_rows.loc, "height", "127px")
33+
expect_to_have_style(test_text_area.loc, "height", "123px")
34+
expect_to_have_style(test_text_area_w_rows.loc, "height", "123px")
3535

3636
# Make sure the `rows` is consistent
3737
test_text_area.expect_rows("1")

0 commit comments

Comments
 (0)