File tree Expand file tree Collapse file tree 3 files changed +2
-17
lines changed
tests/acceptance/RobotLab Expand file tree Collapse file tree 3 files changed +2
-17
lines changed Original file line number Diff line number Diff line change @@ -10,28 +10,13 @@ Chrome
1010Firefox
1111 headlessfirefox
1212
13- *** Keywords ***
14- Run Selenium keyword and return status
15- [Documentation]
16- ... Run Selenium keyword (optionally with arguments)
17- ... and return status without screenshots on failure
18- [Arguments] ${keyword } @{arguments }
19- ${tmp } = Register keyword to run on failure No operation
20- ${status } = Run keyword and return status ${keyword } @{arguments }
21- Register keyword to run on failure ${tmp }
22- [Return] ${status }
23-
2413Can RobotLab make an IPython Notebook?
2514 [Arguments] ${browser }
2615 [Documentation] Try a basic IPython Notebook
2716 Set Tags browser:${browser }
2817 ${prefix } = Set Variable ipython_${browser } _
2918 Open JupyterLab browser=${browser }
30- ${is_launcher } = Run Selenium keyword and return status
31- ... Page should contain element
32- ... xpath://div[@class='jp-LauncherCard']
33- Run keyword if not ${is_launcher }
34- ... Execute JupyterLab Command New Launcher
19+ Execute JupyterLab Command Close All
3520 Launch a new JupyterLab Document Python 3 Notebook
3621 Capture Page Screenshot ${prefix } _01_notebook.png
3722 Add and Run JupyterLab Code Cell print("Hello" + " World")
Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ Can RobotLab make a Robot Notebook?
1717 Set Tags browser:${browser }
1818 ${prefix } = Set Variable robot_${browser } _
1919 Open JupyterLab browser=${browser }
20+ Execute JupyterLab Command Close All
2021 Launch a new JupyterLab Document Robot Framework Notebook
2122 Capture Page Screenshot ${prefix } _01_notebook.png
2223 Add and Run JupyterLab Code Cell | *Test Case* |${\n } | Hello |${\n } | | Log | Hello World
Original file line number Diff line number Diff line change @@ -3,6 +3,5 @@ Suite Setup Start New RobotLab Server
33Suite Teardown Terminate All Jupyter Servers
44Test Teardown Reset JupyterLab and Close
55Force Tags ui:lab
6- Library SeleniumLibrary
76Library JupyterLibrary
87Resource ../../resources/Launch.robot
You can’t perform that action at this time.
0 commit comments