Matthias Bussonnier
eb87e16ccb
Minor style fixes
10 years ago
Jonathan Frederic
b5c4e98fe8
Get the serverextensions stuff to work and add unit tests for it
10 years ago
Jonathan Frederic
54dd9c525a
Squash some bugs and write unit tests
...
Fix the new tests
10 years ago
Julien Rebetez
93201ddece
Update tests/README.md to point towards using notebook.jstest instead of iptest
10 years ago
Julien Rebetez
f50474d60d
Add test for attachments garbage collection
10 years ago
Julien Rebetez
51cab51f1c
Add Copy/Paste cell attachments test
10 years ago
Julien Rebetez
6cc468db52
Add tests for attachments insert menuitem
10 years ago
Thomas Kluyver
843e9a181a
Merge pull request #1136 from minrk/close-restart-channel
...
channel.closed is a method
10 years ago
Min RK
6b82621b9a
Merge pull request #1130 from takluyver/daemonic-test-server
...
Mark thread for test server as daemonic
10 years ago
Min RK
ba161b06dd
teardown zmq Context explicitly at the end of each test group
...
Increases the chances of noticing when we aren't cleaning up our sockets properly.
10 years ago
Thomas Kluyver
ce3dd80391
Mark thread as daemon in a way that Python 2 supports
10 years ago
Thomas Kluyver
c1a2a26551
Mark thread for test server as daemonic
...
I don't understand how, but I suspect that the threaded server is
somehow involved in the hangs we see after the tests complete. This
marks it as daemonic so that if it somehow escapes it won't keep the
test process alive.
10 years ago
Jonathan Frederic
68cd52bd22
Enable deprecated import of auth/main
10 years ago
Jonathan Frederic
dd57cded75
Fix the new deprecated names test
10 years ago
Jonathan Frederic
4b0aa51ce7
Don't load main files - they should never be referenced anyways,
...
they break things by resetting global page state.
Also put URL in string
10 years ago
Jonathan Frederic
8dba4eccdd
Add unit tests for deprecated requirejs API
10 years ago
Brian Lange
a1acd448ed
Replace 'subtract' with '-' in existing tests
10 years ago
Matthias Bussonnier
b520b57f2f
Merge pull request #1049 from parleur/nested_svg
...
Nested svg
10 years ago
Min RK
4d64519f12
Merge pull request #969 from minrk/undelete-stack
...
multiple-undo for cell deletion
10 years ago
Pierre Gerold
f8d2af1632
draft for nested svg test, not working
10 years ago
Thomas Kluyver
15581d9567
Ensure user site packages is on PYTHONPATH for notebook test server
10 years ago
Min RK
5eec6a5951
fix multi-cell undelete ordering
...
and test multi-cell undelete at both the top and bottom of the notebook
10 years ago
Min RK
f0cb481cb2
add select_cells test utility
...
selects [included,excluded) semi-open range, like Python conventions.
10 years ago
Min RK
89b75c21e2
multiple-undo for cell deletion
...
use a stack for undelete_backup instead of a singleton
avoids data loss on multiple undelete
10 years ago
Matthias Bussonnier
9ab90bd835
fix regex
10 years ago
Sylvain Corlay
859e1c77b6
Test based on css selection
11 years ago
Pierre Gerold
0b44f64e9d
Move test function to test file
11 years ago
Matthias Bussonnier
bed0bd1ee2
Typo: `verison` -> `version` (swap `s` and `i`)
11 years ago
Pierre Gerold
f557c8c9b7
Fusion between carreau & mink solution about version nb checking
11 years ago
Matthias Bussonnier
f873493f9f
Test for Pep440 non-Complaint version numbers
...
test directly in the version number file, as the version number is
likely to be committed before running tests, so we want **really quick
failure**.
11 years ago
Matthias Bussonnier
50e1f8b746
Cleanup and comment
...
[no-ci]
11 years ago
Matthias Bussonnier
f2a42913a3
Move tests to a separate file
...
and get rid of `.entries()` not supported by Casper on Travis
11 years ago
Pierre Gerold
ed2d61afa5
Typo tests
11 years ago
Pierre Gerold
845ea5e555
end of tests
11 years ago
Pierre Gerold
94d057bf10
test quick dirty and under pressure
11 years ago
Min RK
bf952c1f86
Merge pull request #822 from Carreau/merge-below
...
have shift-m merge below if one cell selected
11 years ago
Min RK
d4e467e3f4
Merge pull request #799 from Carreau/past-and-replace
...
Fix and test paste_cell_replace with multi-selection
11 years ago
Matthias Bussonnier
f1db9c4b99
focus the last pasted cell, and add test
11 years ago
Matthias Bussonnier
7dd57f9696
Update merge tests with new behavior (merge below)
11 years ago
Jonathan Frederic
a9b9243ebf
Tests
11 years ago
Matthias Bussonnier
b370f285bb
Merge pull request #812 from jdfreder/i794
...
Insert cell above/below and multiple selection
11 years ago
Matthias Bussonnier
c71c4f3032
Merge pull request #814 from jdfreder/i796
...
Run and insert below, multiselect compat.
11 years ago
Jonathan Frederic
7a7c90b993
Add tests
11 years ago
Matthias Bussonnier
f5dc1b25ec
Fix tests on merge-able cells.
...
Add test to check that shift-m does actually do nothing on only 1 cell
selected.
make sure multiple cells get selected when trying to merge a lock cell
(or it's useless test)
Add a test that check 2 cells can be merged.
Closes #820
11 years ago
Matthias Bussonnier
a863916505
Make past and replace actually replace selection.
...
It used to replace only the head of the selection.
Change tests accordingly
11 years ago
Matthias Bussonnier
4719f957ad
Write test to test for running of multiple selection and insert below.
11 years ago
Matthias Bussonnier
79df8c6469
Merge pull request #816 from captainsafia/add-multiselect-toggle-tests
...
Add tests for multiselect toggles
11 years ago
Safia Abdalla
ca496ee268
Added tests for multiselect toggle functionality
11 years ago
Peter Parente
2b7a06d4b2
Add multiselect cell type conversion tests
...
(c) Copyright IBM Corp. 2015
11 years ago
Matthias Bussonnier
57b9550b8d
Fix test and move in their own file
11 years ago
Matthias Bussonnier
134351a744
Fist and test past_cell_replace with multi-selection
...
closes #792
11 years ago
Brian E. Granger
feb83d6c9d
Merge pull request #708 from Carreau/fix-shift-jk
...
[WIP] Prototype to fix Shift-J/K selection with anchor and cursor
11 years ago
Matthias Bussonnier
f05dfae0f3
Rework multiple selections to be continuous
...
It use the notion of Head/Anchor moving the selection normally move both
the head and the anchor. It is possible to mot move the anchor, for
example by pressing Shift.
Everything in between the head and the anchor (head and anchor included)
is in a "soft-selection" marked with the 'jupyter-soft-selection' class
in CSS.
This then remove completely the notion of marked cell, and thus disallow
discontinuous selection.
Unlike previous implementation the used a thick left border, this use
background gradient with 2 stops at the same position to archived the
same visual effect without the gap in between left border in between
contiguous cells.
For compatibility with previous versions, a few choices have been made.
An extra multi-selected class is added to the body when multiple
cells are selected. This allow to toggle the background to a soft blue
indicating selection. And the Head of the selection is still called the
"selected" cell.
The on_focus event have been reworked as a
click-let-click-release-outside of codemirror was putting the notebook
in undefined state with multiple selected cells, and the head in edit
mode.
Finally Travis now test on edge group, to get faster, which can be
removed in a few weeks as the all infrastructure of Travis will move on
Google Cloud.
11 years ago
Thomas Kluyver
d732e28cb2
Merge pull request #711 from minrk/allow-async-kernel-manager
...
allow some KernelManager methods to be async
11 years ago
Min RK
cfa64552b2
initialize Application in background thread
...
rather than initializing in main and starting in background, which seemed to cause occasional issues.
Also fix checking for dead notebook, which is no longer a subprocess.
11 years ago
Matthias Bussonnier
259be440b5
use var
11 years ago
Matthias Bussonnier
c54b4f0e1d
more info on timeout
11 years ago
Matthias Bussonnier
a0929ab8c1
Timeout is an option of `waitFor`, not `then`
11 years ago
Matthias Bussonnier
f99ee3025c
Fix closing ansi handling.
...
The following was wrong:
IPython.utils.ansispan("\x1b[38;5;28;01mtry\x1b[39;00m")
"<span style="color: rgb(0,102,0);" class="ansibold">try< span>"
11 years ago
Jessica B. Hamrick
0212d45292
Add some more tests for merging above/below
11 years ago
Jessica B. Hamrick
3438604ac9
Add test to verify bug in undoing merges
11 years ago
Jessica B. Hamrick
ac02e2259f
Add some tests
11 years ago
Jessica B. Hamrick
0fff17cdbc
Run marked cells
11 years ago
Jessica B. Hamrick
a1b530e28b
Fix tests
11 years ago
Brian E. Granger
8e901e8d0d
Using jupyter-notebook for command prefix.
11 years ago
Brian E. Granger
a5e9d96089
Small renaming fixes.
11 years ago
Brian E. Granger
c7d3728b6e
Renaming jupyter-notebook -> jp-notebook
11 years ago
Brian E. Granger
33bcdf907d
Fixing tests and example notebook
11 years ago
Brian E. Granger
7df94eb001
Renaming commands
11 years ago
Jonathan Frederic
c333778a87
Use offset param instead of direction
11 years ago
Jonathan Frederic
d797b8e47c
Use marks
11 years ago
Jonathan Frederic
0c2cc3e695
Address @ellisonbg's comments
11 years ago
Jonathan Frederic
64c93843a8
Add the ability to mark cells.
11 years ago
Min RK
c87c5ffd1f
add comment about base URL prefixes in tests
11 years ago
Min RK
f52c66268e
handle non-empty base URL in dashboard test
11 years ago
Min RK
b9c27a461a
run js tests with base URL
...
bug in phantomjs prevents testing with escaped base URL,
but this still tests inappropriate escaping
because @ *would* be escaped, but it does not need to be
11 years ago
Min RK
164c3b6c1a
test with url-escaped base_url
...
should ensure sanity
11 years ago
Matthias Bussonnier
a9576ba96e
forgot octal prefix
11 years ago
Matthias Bussonnier
e5ed972467
Strip more ANSI escape sequence.
...
`?` can be found in ANSI escape sequence. ( `[?25l` hide cursor,
`[25k`show cursor)
Closes #95
11 years ago
Safia Abdalla
84f1f6fc3d
Replace backslash with slash
11 years ago
Safia Abdalla
292ba6fd1b
Added tests for notebook path with backslash
11 years ago
Safia Abdalla
6464dc1783
Fixed typo on merge_above test case
11 years ago
Safia Abdalla
5a4363f6e9
Added tests for merge above on topmost cell
11 years ago
Matthias Bussonnier
0f307f28f1
cleanup stuff and fix tests
11 years ago
Thomas Kluyver
eb5e82f295
Fix cell merge tests
11 years ago
Jonathan Frederic
58365cbdbb
Better tests 📰
11 years ago
Jonathan Frederic
4e93079fe3
Add test 🖊️
11 years ago
Min RK
7db1410a11
test --generate-config
11 years ago
Min RK
d71a59cc9f
s/jupyter_notebook/notebook
11 years ago