Skip to content

Commit 3ef59e3

Browse files
committed
Workaround issue with cell not getting entered
1 parent ccdc218 commit 3ef59e3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

atest/_resources/Keywords.resource

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,9 @@ Gently Reset Workspace
334334
Enter Cell Editor
335335
[Arguments] ${cell_nr} ${line}=1
336336
Click Element css:.jp-Cell:nth-child(${cell_nr}) .cm-line:nth-child(${line})
337+
# So it should be focused after click right? Well, not when using this driver
338+
# in JupyterLab 4.1 - we still need to press enter apparently.
339+
Press Keys None ENTER
337340
Wait Until Page Contains Element css:.jp-Cell:nth-child(${cell_nr}) .cm-focused
338341
# clicking on line does not appear sufficient in CM6 (but still useful because it ensures we have it in view
339342
Execute JavaScript

0 commit comments

Comments
 (0)