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(
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" ).nth ( 0 ). click ()
116116 with page .expect_websocket (_JLabWaitForTerminalWebSocket ()) as ws_info :
117117 iframe .get_by_label ("Launcher" ).get_by_text ("Terminal" ).click ()
118118
@@ -153,7 +153,7 @@ def test_jupyterlab(
153153 return
154154 # Wait until iframe is shown and create new notebook with print statement
155155 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 ()
157157 iframe .locator (".jp-LauncherCard-icon" ).first .click ()
158158 iframe .get_by_role ("tab" , name = "Untitled.ipynb" ).click ()
159159 _jupyterlab_ui = iframe .get_by_label ("Untitled.ipynb" ).get_by_role ("textbox" )
You can’t perform that action at this time.
0 commit comments