File tree Expand file tree Collapse file tree 2 files changed +3
-16
lines changed
e2e-playwright/tests/jupyterlabs Expand file tree Collapse file tree 2 files changed +3
-16
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" )
Original file line number Diff line number Diff line change 1- # /// script
2- # requires-python = ">=3.11"
3- # dependencies = [
4- # "faker",
5- # "locust",
6- # "locust-plugins",
7- # "parse",
8- # "pydantic",
9- # "pydantic-settings",
10- # "tenacity"
11- # ]
12- # ///
13- # pylint: disable=unused-argument
1+ # pylint:disable=unused-argument
142# pylint: disable=no-self-use
15- # pylint: disable=no-name-in-module
163
174import importlib .util
185import inspect
You can’t perform that action at this time.
0 commit comments