Skip to content

Commit 5ddc19a

Browse files
committed
Update test expectations to not include space
1 parent ac612a3 commit 5ddc19a

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

tests/playwright/shiny/inputs/test_input_action_button_link.py

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ def test_input_action_kitchen(page: Page, app: ShinyAppProc) -> None:
1111
page.goto(app.url)
1212

1313
button2 = controller.InputActionButton(page, "goButton2")
14-
expect(button2.loc).to_have_text("🤩 Go 2")
15-
button2.expect_label("🤩 Go 2")
14+
expect(button2.loc).to_have_text("🤩Go 2")
15+
button2.expect_label("🤩Go 2")
1616
button2.expect_width(None)
1717

1818
link = controller.InputActionLink(page, "goLink")
@@ -25,7 +25,8 @@ def test_input_action_kitchen(page: Page, app: ShinyAppProc) -> None:
2525

2626
controller.InputActionButton(page, "update").click()
2727

28+
# TODO: why is the space needed here?
2829
button1.expect_label("📅 New label")
29-
button2.expect_label("🤩 Go 2")
30+
button2.expect_label("🤩Go 2")
3031
button3.expect_label("New label 3")
31-
link.expect_label("🔗 New link label")
32+
link.expect_label("🔗New link label")

0 commit comments

Comments
 (0)