Skip to content

Commit f413be8

Browse files
committed
Await for kernel restart to complete
1 parent f18127c commit f413be8

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

atest/_resources/Keywords.resource

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -500,6 +500,8 @@ Restart Kernel
500500
Lab Command Restart Kernel…
501501
Wait For Dialog
502502
Accept Default Dialog Option
503+
Wait Until Page Contains Element css:.jp-Notebook-ExecutionIndicator[data-status="restarting"]
504+
Wait Until Page Contains Element css:.jp-Notebook-ExecutionIndicator[data-status="idle"]
503505

504506
Expand Menu Entry
505507
[Arguments] ${label}

atest/suites/04_Interface/DiagnosticsPanel.robot

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,7 @@ Diagnostics Panel Works After Rename
3535
Diagnostics Panel Works After Kernel Restart
3636
[Documentation] Test for #475 bug
3737
Close Diagnostics Panel
38-
Lab Command Restart Kernel…
39-
Wait For Dialog
40-
Accept Default Dialog Option
38+
Restart Kernel
4139
Wait Until Page Contains Diagnostic [title*="${DIAGNOSTIC}"] timeout=20s
4240
Open Diagnostics Panel
4341
Wait Until Keyword Succeeds 10 x 1s Should Have Expected Rows Count ${EXPECTED_COUNT}

0 commit comments

Comments
 (0)