gha diagnostics

This commit is contained in:
dickmao 2020-02-04 20:45:36 -05:00
parent d902f1fbc0
commit 8ec5b550e5
2 changed files with 5 additions and 3 deletions

View file

@ -55,11 +55,13 @@ Scenario: Delete closes buffers and sessions
And I clear log expr "ein:log-all-buffer-name"
And I click on "Delete"
And I wait for buffer to not say "Untitled"
And I dump buffer
Then eval "(should-not (ein:notebook-opened-notebooks)))"
Then eval "(should-not (seq-some (lambda (b) (cl-search "Untitled" (buffer-name b))) (buffer-list)))"
And I switch to log expr "ein:log-all-buffer-name"
And I wait for buffer to say "kernel-delete-session--success"
And I wait for buffer to say "notebooklist-delete-notebook--complete"
And I dump buffer
Then I should see "kernel-delete-session--success"
Then I should see "notebooklist-delete-notebook--complete"
@content
Scenario: Read a massive directory

View file

@ -70,7 +70,7 @@
for path = (ein:$notebook-notebook-path nb)
do (ein:log 'debug "Notebook %s still open" path)
finally do (assert nil)))
(cl-loop repeat 5
(cl-loop repeat 30
for stragglers = (file-name-all-completions "Untitled"
ein:testing-jupyter-server-root)
until (null stragglers)