Ram Rachum
7d375282a9
Fix exception causes all over the codebase
6 years ago
John
de2f3f724d
remove old JS markdown tests, add a new one in selenium ( #5497 )
...
* remove old JS tests, which are already converted to pytest
add test for a markdown heading
* Update markdown.js
remove old test [skip ci]
* remove debug statement
[skip ci]
6 years ago
Toon Baeyens
b278fa67de
Make a notebook writable after successful save-as ( #5296 )
...
* add failing test for readonly notebook
* test typing after save-as
* make notebook writable after save-as
fixes #1324
* fix failing test in travis
6 years ago
dSchurch
f42f2408b0
Migrate Move multiselection test to selenium ( #5158 )
...
* converted move multiselection to selenium test
* deleted the time library
* Remove move_multiselection
Co-authored-by: Diego Schurch <dschurch@NSL-DSCHURCHs-MacBook-Pro.local>
6 years ago
Niko Felger
d84faae6a8
Convert notifications JS test to selenium ( #5455 )
...
* Add selenium test helper to wait for JS expressions
* Convert notifications JS test to selenium (#3335 )
6 years ago
Thomas Kluyver
7fb461ddf7
Selenium test fixture to open a notebook with prefilled content
...
This makes several tests shorter and (hopefully) more efficient
6 years ago
Thomas Kluyver
9640e1f943
Merge pull request #4101 from dubielt1/test-kernel-menu
...
Translated kernel menu javascript test to selenium
6 years ago
Thomas Kluyver
6d76481ccd
Merge pull request #4622 from TeresaPartidaS/convert_execute_code_js_to_selenium
...
Migrate execute code test to selenium
6 years ago
Thomas Kluyver
257e71202c
Rework execution test, add wait_for_cell_output helper
6 years ago
TPartida
c23de34161
Modified to avoid race condition
6 years ago
TPartida
6c7ad0417e
Convert execute_code to Selenium
6 years ago
Thomas Kluyver
08d0b56390
Fix waiting for dialog to close before clicking menu again
6 years ago
Thomas Kluyver
934c7dda80
Return to tree window after test using notebook
6 years ago
Thomas Kluyver
46614c3772
Simplify test for interrupting running code
6 years ago
Thomas Kluyver
17176de1f2
Rename test file so test is discovered
6 years ago
lmcdon14
f2bfd3bebd
create selenium interrupt test and add utility function
6 years ago
Thomas Kluyver
92db6a727c
Simplify test for shutting down & restarting kernel through the menus
6 years ago
Tres DuBiel
36e14efa93
Translated kernel menu javascript test to selenium
6 years ago
Thomas Kluyver
fb2286585c
Fix checking if kernel is running through Selenium
...
Avoid error "Jupyter.notebook.kernel is null"
6 years ago
Min ho Kim
bd66c18b4f
Fix typos ( #4760 )
...
* Fix typos
* Revert trimming whitespaces
* Revert trimming whitespaces
* Revert trimming whitespaces
* Revert trimming whitespaces
* Revert trimming whitespaces
7 years ago
Thomas Kluyver
9237c3732e
Merge pull request #4615 from LuisARodr/dualmode_execute
...
Convert dualmode_execute, dualmode_clipboard & dualmode_markdown to selenium
7 years ago
Luis Rodriguez
cd2ea150a0
Refactor for
...
Changed 'for mode in cells_mode' for 'for i, mode in
enumerate(cells_mode)'
Removed the manual 'i' increment and declaration.
7 years ago
Luis Rodriguez
799b8be841
Move repeated assert mode
...
Moved 'assert mode == keyboard_mode' ouside the branches.
This means that if a unknown mode comes its gonna get catched by the
assert and never gona get to the else statement.
For this, the else stament moved to before the assert, caching the mode
error before the assert.
7 years ago
Luis Rodriguez
6679891464
Give space to inline comments
7 years ago
Luis Rodriguez
6b7d179697
Change assert for Exception
7 years ago
Luis Rodriguez
83b3c19de3
Solve insonsistensy on is_focused_on
...
Changed asserts for returns
Changed how the function is called on edit mode check
7 years ago
Luis Rodriguez
b294bf57f8
Refactor of ifs
...
Removed parentheses
Changed '==' for 'is' on None
7 years ago
Luis Rodriguez
c276d81914
Update docstring
...
Added more information about what the checks are
7 years ago
Thomas Kluyver
8ae0c047a9
Merge pull request #4617 from TeresaPartidaS/convert_multiselect_toggle_js_to_selenium
...
Migrate multiselect toggle test to selenium
7 years ago
TPartida
8749a5db99
Modified 'scrolling enabled' test assert
7 years ago
Luis Rodriguez
3a0cb7b113
Refactor validate_dualmode_mode
...
Previously know as validate_notebook_mode changed name to
validate_dualmode_mode to represent better the method.
Added a docstring.
Removed the handling of index being None.
7 years ago
Luis Rodriguez
fccc7d7420
Resolve notebook len duplicate method
7 years ago
Thomas Kluyver
93099010ff
Merge pull request #4608 from LuisARodr/dualmode_tests
...
Convert dualmode_cellmode to selenium
7 years ago
TPartida
c674a57955
Convert multiselect_toggle to selenium
7 years ago
Luis Rodriguez
849b7def18
Convert dualmode_markdown to selenium
7 years ago
Luis Rodriguez
ecc27953e3
Remove unused import & refactor
7 years ago
Luis Rodriguez
9158a79ec4
Convert dualmode_execute to selenium
7 years ago
Luis Rodriguez
5b162cfdf9
Convert dualmode_clipboard to selenium
7 years ago
Luis Rodriguez
3cdc418799
Add alt command, gets, and validate_notebook_state
7 years ago
Luis Rodriguez
89e678c74c
Convert dualmode_cellmode to selenium
7 years ago
Emilio Talamante Lugo
b2653ddb97
Add some code style improvements by not using list comprehension when not required
7 years ago
Emilio Talamante Lugo
31fce8270a
Converted clipboard js to selenium and rename undeleted to conventional name
7 years ago
Thomas Kluyver
f21650ed0c
Merge pull request #4512 from emiliotl/convert_dmode_arrows_and_fix_dmode_insert_tests
...
Fixed dualmode insert test and convert dualmode arrows test to selenium
7 years ago
Emilio Talamante Lugo
d8120e5845
Rename ctrl method to cmdtrl which covers the mains OS
7 years ago
Min RK
5ad7a41c4c
wait for kernel to be ready in selenium tests
...
might fix recent flaky tests
7 years ago
Emilio Talamante Lugo
35a19e9308
Fixed dualmode insert test and convert dualmode arrows test to selenium
7 years ago
Emilio Talamante Lugo
e3c9a67294
Changed to .utils module for CI tests acceptance
7 years ago
Emilio Talamante Lugo
0c003e9de1
Handled possible race conditions and modified returned object on get_cell_output
7 years ago
Emilio Talamante Lugo
23adb8e919
Replacing time.sleep for a conditional waiting method
7 years ago
Emilio Talamante Lugo
b892d7c8c6
Converted shutdown.js test to selenium python test
7 years ago