Skip to content

Commit 6b07a8e

Browse files
committed
Update tests
1 parent 95cdc59 commit 6b07a8e

File tree

2 files changed

+0
-18
lines changed

2 files changed

+0
-18
lines changed

tests/playwright/shiny/session/current_output_info/app.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,6 @@
1010

1111
def server(input: Inputs, output: Outputs, session: Session):
1212

13-
@render.text
14-
def text1():
15-
id = session.current_output_id() or "None"
16-
return f"Output ID: {id}"
17-
18-
@output(id="text2")
19-
@render.text
20-
def _():
21-
id = session.current_output_id() or "None"
22-
return f"Output ID: {id}"
23-
2413
@render.text
2514
def info():
2615
bg_color = session.clientdata.output_bg_color()

tests/playwright/shiny/session/current_output_info/test_current_output_info.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,6 @@ def test_current_output_info(page: Page, local_app: ShinyAppProc) -> None:
88

99
page.goto(local_app.url)
1010

11-
# Check that the output ID is displayed correctly in the UI
12-
text1 = controller.OutputText(page, "text1")
13-
text2 = controller.OutputText(page, "text2")
14-
15-
text1.expect_value("Output ID: text1")
16-
text2.expect_value("Output ID: text2")
17-
1811
# Check that we can get background color from clientdata
1912
info = controller.OutputText(page, "info")
2013
info.expect_value("BG color: rgb(255, 255, 255)")

0 commit comments

Comments
 (0)