Skip to content

Commit 0eb0d36

Browse files
committed
chore: fix types
1 parent 658a562 commit 0eb0d36

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/playwright/shiny/components/chat/icon/test_chat_icon.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
from typing import Optional
2+
13
from playwright.sync_api import Page, expect
24
from utils.deploy_utils import skip_on_webkit
35

@@ -11,7 +13,7 @@ def __init__(self, page: Page, id: str, classes: str):
1113
self.chat = controller.Chat(page, f"chat_{id}")
1214
self.classes = classes
1315

14-
def expect_last_message_icon_to_have_classes(self, classes: str | None = None):
16+
def expect_last_message_icon_to_have_classes(self, classes: Optional[str] = None):
1517
# TODO: Fix this test to find icon in shadow root
1618
if self.id == "default":
1719
last_msg_icon = self.chat.loc_latest_message.locator(

0 commit comments

Comments
 (0)