stragglers from C-x k

This commit is contained in:
dickmao 2020-01-07 17:35:21 -05:00
parent 5de0c8b8a4
commit 66d6ea81a0
3 changed files with 6 additions and 5 deletions

View file

@ -98,7 +98,6 @@ Scenario: Assign variable, save, kill notebook buffer, get it back, check variab
And I type "b"
And I wait for cell to execute
Then I should see "3.1415"
And I press "C-x k"
@julia
Scenario: Smoke test julia

View file

@ -316,7 +316,7 @@
(let ((was (widget-at)))
(When "I press \"RET\"")
(cl-loop until (not (equal was (widget-at)))
do (sleep-for 0 500))))))
do (sleep-for 0 500))))))
(When "^I click on dir \"\\(.+\\)\"$"
(lambda (dir)

View file

@ -47,8 +47,7 @@
do (cl-loop repeat 16
until done-p
do (sleep-for 0 1000)
finally do (if done-p
(message "killed %s" path)
finally do (unless done-p
(ein:display-warning (format "cannot close %s" path))))
do (when (or (ob-ein-anonymous-p path)
(search "Untitled" path)
@ -65,7 +64,10 @@
(cl-loop for nb in it
for path = (ein:$notebook-notebook-path nb)
do (ein:log 'debug "Notebook %s still open" path)
finally do (assert nil))))
finally do (assert nil)))
(let ((stragglers (file-name-all-completions "Untitled"
ein:testing-jupyter-server-root)))
(should-not stragglers)))
(Setup
(ein:dev-start-debug)