mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-05 17:11:41 -05:00

``` "http://localhost:8888" "http://localhost:8888/" "http://127.0.0.1:8888" "http://127.0.0.1:8888/" "8888" 8888 ``` Ideally these should converge to the same thing. Since many hash tables are keyed off `url-or-port`, forgetting to normalize `url-or-port` with `ein:url` leads to missed cache hits and general malaise. So we try to do that. Address a FIXME: apply callbacks to `ein:notebook-list-login-and-open`. Removed py3.5 from travis build matrix to reduce developer strain.
46 lines
1.5 KiB
Gherkin
46 lines
1.5 KiB
Gherkin
Scenario: No warnings
|
|
Given I switch to log expr "ein:log-all-buffer-name"
|
|
Then I should see "[info]"
|
|
And I should not see "[warn]"
|
|
And I should not see "[error]"
|
|
|
|
Scenario: Breadcrumbs
|
|
Given I am in notebooklist buffer
|
|
When I click on dir "step-definitions"
|
|
Then I should see "ein-steps"
|
|
And I click on "Home"
|
|
Then I should see "support"
|
|
|
|
Scenario: New Notebook
|
|
Given I am in notebooklist buffer
|
|
When I clear log expr "ein:log-all-buffer-name"
|
|
And I click on "New Notebook"
|
|
And I switch to log expr "ein:log-all-buffer-name"
|
|
Then I should see "Opened notebook Untitled"
|
|
|
|
Scenario: Resync
|
|
Given I am in notebooklist buffer
|
|
When I clear log expr "ein:log-all-buffer-name"
|
|
And I click on "Resync"
|
|
And I switch to log expr "ein:log-all-buffer-name"
|
|
Then I should see "kernelspecs--complete"
|
|
|
|
@foo
|
|
Scenario: Global notebooks
|
|
Given I am in notebooklist buffer
|
|
When I clear log expr "ein:log-all-buffer-name"
|
|
And I call "ein:notebooklist-open-notebook-global"
|
|
And I wait 0.9 seconds
|
|
And I switch to log expr "ein:log-all-buffer-name"
|
|
Then I should see "Opened notebook"
|
|
|
|
@foo
|
|
Scenario: notebooklist-open works interactively (should be same notebooklist as server-start)
|
|
Given I am in buffer "*scratch*"
|
|
When I clear log expr "ein:log-all-buffer-name"
|
|
And I login if necessary
|
|
And I call "ein:notebooklist-open"
|
|
And I wait for the smoke to clear
|
|
And I switch to log expr "ein:log-all-buffer-name"
|
|
Then I should not see "[warn]"
|
|
And I should not see "[error]"
|