Skip to content

Commit b4d405b

Browse files
committed
take the first matching button
1 parent 082ec0b commit b4d405b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/e2e-playwright/tests/jupyterlabs/test_jupyterlab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ def test_jupyterlab(
112112
logging.INFO,
113113
f"Creating multiple files and 1 file of about {large_file_size.human_readable()}",
114114
):
115-
iframe.get_by_role("button", name="New Launcher").click()
115+
iframe.get_by_role("button", name="New Launcher").first().click()
116116
with page.expect_websocket(_JLabWaitForTerminalWebSocket()) as ws_info:
117117
iframe.get_by_label("Launcher").get_by_text("Terminal").click()
118118

0 commit comments

Comments
 (0)