Skip to content

Commit 64d4eec

Browse files
committed
fix notebook 7 test
1 parent a4887b4 commit 64d4eec

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tests/acceptance/Notebook.robot

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,15 @@ Launch Browser Tab
2222
Location Should Contain foo
2323
Wait Until Page Contains Hello World timeout=10s
2424
Close Window
25+
[Teardown] Switch Window title:Home
2526

2627
Launch Another Browser Tab
2728
Launch With Toolbar Menu bar
2829
Wait Until Keyword Succeeds 3x 0.5s Switch Window title:Hello World
2930
Location Should Contain bar
3031
Wait Until Page Contains Hello World timeout=10s
3132
Close Window
33+
[Teardown] Switch Window title:Home
3234

3335
*** Keywords ***
3436
Start Notebook Tests
@@ -39,6 +41,8 @@ Start Notebook Tests
3941
Launch With Toolbar Menu
4042
[Arguments] ${title}
4143
Mouse Over ${XP_NEW_MENU}
44+
Click Element ${XP_NEW_MENU}
4245
${item} = Set Variable ${XP_OPEN_COMMAND}//div[text() = '${title}']
4346
Wait Until Element Is Visible ${item}
47+
Mouse Over ${item}
4448
Click Element ${item}

tests/acceptance/__init__.robot

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ https://robotframework-jupyterlibrary.readthedocs.io/en/stable/.
66
Documentation Acceptance tests for jupyter-server-proxy
77
Library JupyterLibrary
88
Library OperatingSystem
9+
Library Process
910
Suite Setup Set Up
1011
Suite Teardown Clean Up
1112

@@ -26,3 +27,4 @@ Set Up
2627
Clean Up
2728
Close all Browsers
2829
Terminate All Jupyter Servers
30+
Terminate All Processes

0 commit comments

Comments
 (0)