@@ -4,23 +4,43 @@ Test Teardown Run Keyword and Ignore Error Reset JupyterLab and Close
4
4
Default Tags notebook
5
5
Library JupyterLibrary
6
6
Library Process
7
+ Test Setup Open JupyterLab ${BROWSER }
7
8
8
9
*** Test Cases ***
9
10
IPython Notebook on Lab
10
- Open JupyterLab ${BROWSER }
11
11
Launch a new JupyterLab Document
12
12
Add and Run JupyterLab Code Cell print("hello world")
13
13
Wait Until JupyterLab Kernel Is Idle
14
14
Current JupyterLab Cell Output Should Contain hello world
15
- Capture Page Screenshot lab ${ / } ipython.png
15
+ Capture Page Screenshot 10-00- ipython.png
16
16
Save JupyterLab Notebook
17
17
18
18
IPython Notebook Outputs on Lab
19
- Open JupyterLab ${BROWSER }
20
19
Launch a new JupyterLab Document
21
20
FOR ${i } IN RANGE ${10 }
22
21
Add and Run JupyterLab Code Cell print("${i } hello world " * ${i ** 2 } )
23
22
END
24
23
Wait Until JupyterLab Kernel Is Idle
25
- Screenshot Each Output of Active JupyterLab Document lab ${ / } ipython_outputs ${ / }
24
+ Screenshot Each Output of Active JupyterLab Document 10-10-outputs
26
25
Save JupyterLab Notebook
26
+
27
+ Multiple Notebooks on Lab
28
+ [Tags] notebooks
29
+ Disable JupyterLab Modal Command Palette
30
+ Launch a new JupyterLab Document
31
+ Wait Until JupyterLab Kernel Is Idle
32
+ Add and Run JupyterLab Code Cell print("hello world")
33
+ Wait Until JupyterLab Kernel Is Idle
34
+ Page Should Contain hello world
35
+ Capture Page Screenshot 10-20-one-notebook.png
36
+ Launch a new JupyterLab Document
37
+ ${tab1 } = Get JupyterLab Dock Panel Tab Untitled1.ipynb
38
+ Click Element ${tab1 }
39
+ Add and Run JupyterLab Code Cell print("yet another world") n=2
40
+ Wait Until JupyterLab Kernel Is Idle
41
+ Page Should Contain another world
42
+ Drag And Drop By Offset ${tab1 } 800 500
43
+ Capture Page Screenshot 10-21-two-notesbook.png
44
+ Close JupyterLab Dock Panel Tab Untitled1.ipynb
45
+ Maybe Accept a JupyterLab Prompt
46
+ Page Should Not Contain yet another world
0 commit comments