mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-04 16:51:38 -05:00

Some caveats: completion and tooltips using the kernel are no longer available as ein-pytools has been mostly neuterd. Cell autoexecution also been removed.
16 lines
506 B
Gherkin
16 lines
506 B
Gherkin
@connect
|
|
Scenario: Connect buffer to an open notebook
|
|
Given new python notebook
|
|
And eval "(require 'ein-connect)"
|
|
And I type "a"
|
|
And I create buffer named "test.py"
|
|
And I switch to buffer like "test.py"
|
|
And I type "a = 10"
|
|
And I press "RET"
|
|
And I press "M-x ein:connect-to-notebook-command"
|
|
And I press "M-x ein:connect-eval-buffer"
|
|
And I wait for the smoke to clear
|
|
And I switch to buffer like "Untitled"
|
|
And I press "RET"
|
|
And I wait for cell to execute
|
|
Then I should see "10"
|