File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
tests/e2e-playwright/tests/jupyterlabs Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ def test_jupyterlab(
112
112
logging .INFO ,
113
113
f"Creating multiple files and 1 file of about { large_file_size .human_readable ()} " ,
114
114
):
115
- iframe .get_by_role ("button" , name = "New Launcher" ).click ()
115
+ iframe .get_by_role ("button" , name = "New Launcher" ).nth ( 0 ). click ()
116
116
with page .expect_websocket (_JLabWaitForTerminalWebSocket ()) as ws_info :
117
117
iframe .get_by_label ("Launcher" ).get_by_text ("Terminal" ).click ()
118
118
@@ -153,7 +153,7 @@ def test_jupyterlab(
153
153
return
154
154
# Wait until iframe is shown and create new notebook with print statement
155
155
with log_context (logging .INFO , "Running new notebook" ):
156
- iframe .get_by_role ("button" , name = "New Launcher" ).click ()
156
+ iframe .get_by_role ("button" , name = "New Launcher" ).nth ( 0 ). click ()
157
157
iframe .locator (".jp-LauncherCard-icon" ).first .click ()
158
158
iframe .get_by_role ("tab" , name = "Untitled.ipynb" ).click ()
159
159
_jupyterlab_ui = iframe .get_by_label ("Untitled.ipynb" ).get_by_role ("textbox" )
You can’t perform that action at this time.
0 commit comments