File tree 2 files changed +4
-1
lines changed
src/JupyterLibrary/clients/jupyterlab
2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,10 @@ ${JLAB TEXT BUSY PROMPT} In [*]:
27
27
${JLAB XP LAUNCHER } //div[contains(@class, 'jp-Launcher-body')]
28
28
${JLAB XP CARD } //div[contains(@class, 'jp-LauncherCard')]
29
29
${JLAB XP DOCK } //div[@id='jp-main-dock-panel']
30
+ ${JLAB XP MENU ITEM } //li[contains(@class, 'p-Menu-item')]
30
31
${JLAB XP MENU ITEM LABEL } //div[contains(@class, 'p-Menu-itemLabel')]
32
+ ${JLAB XP MENU ITEM ENABLED } ${JLAB XP MENU ITEM } \[not(contains(@class,'p-mod-disabled'))]
33
+ ${JLAB XP MENU ITEM LABEL ENABLED } ${JLAB XP MENU ITEM ENABLED } /div[contains(@class, 'p-Menu-itemLabel')]
31
34
${JLAB XP MENU LABEL } //div[contains(@class, 'p-MenuBar-itemLabel')]
32
35
${JLAB XP TOP } //div[@id='jp-top-panel']
33
36
${JLAB XP MAIN AREA FRAG } [contains(@class, 'jp-MainAreaWidget')]
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ Click JupyterLab Menu
46
46
Click JupyterLab Menu Item
47
47
[Documentation] Click a currently-visible JupyterLab menu item by ``label``.
48
48
[Arguments] ${label }
49
- ${item } = Set Variable ${JLAB XP MENU ITEM LABEL } \[text() = '${label } ']
49
+ ${item } = Set Variable ${JLAB XP MENU ITEM LABEL ENABLED } \[text() = '${label } ']
50
50
Wait Until Page Contains Element ${item }
51
51
Mouse Over ${item }
52
52
Click Element ${item }
You can’t perform that action at this time.
0 commit comments