Commit Graph

10892 Commits

Author SHA1 Message Date
Thomas Kluyver
bf173a8f02
Merge pull request #3424 from kevin-bates/fix-leak-iopub
Fix leak of iopub object in activity monitoring
2018-04-03 11:27:08 +02:00
sheshtawy
2c5748f82e Remove unnecessary comments 2018-04-02 17:21:50 -04:00
sheshtawy
5dbb2ac975 Move notebook fixture to deletetest file to minimize the dependency on changes in PR #3475. This should be update once that PR is merged 2018-04-02 16:49:02 -04:00
sheshtawy
6b1691d3a5 Add tests to make sure copied cells are deletable 2018-03-31 17:04:51 -04:00
sheshtawy
7b8db48f1b Add tests for deletable cells and non-deleteable cells 2018-03-31 16:58:47 -04:00
hkshesht
e24a573a5d Merge branch 'master' into convert-jstest-to-selenium-deletecell 2018-03-29 12:42:40 -04:00
Thomas Kluyver
9359a73788 Allow translation of shutdown dialog 2018-03-29 12:17:19 +02:00
Thomas Kluyver
8a97003a6a New module for shutdownbutton 2018-03-29 12:14:12 +02:00
Thomas Kluyver
ae1b6fb835 Change button label to 'Quit' 2018-03-29 12:14:12 +02:00
Thomas Kluyver
c9a124d58c Enable shutdown button by default 2018-03-29 12:14:12 +02:00
Grant Nestor
86e45ab9f4 Add shutdown button option 2018-03-29 12:14:12 +02:00
Thomas Kluyver
9e8202ab7a Add NotebookApp.terminals_enabled config option
Closes gh-3446
2018-03-28 15:43:43 +02:00
Thomas Kluyver
9e72e054c0 Convert native for loop to Array forEach()
This fixes a problem with variable scoping and closures.

Closes gh-3473
2018-03-28 14:58:22 +02:00
Thomas Kluyver
45b8bb9c62 Remove converted JS undelete test 2018-03-28 13:50:13 +02:00
Thomas Kluyver
40e996956a Finish making Selenium undelete test 2018-03-28 13:49:31 +02:00
Thomas Kluyver
08072107ae Start writing undelete test in Selenium 2018-03-28 13:04:15 +02:00
Thomas Kluyver
b49ba398c6 Move fixture into conftests.py 2018-03-28 12:33:39 +02:00
Thomas Kluyver
fc8bbb44ca Delete unused imports 2018-03-28 12:31:38 +02:00
Thomas Kluyver
faa0cab302
Merge pull request #3458 from mpacer/selenium_utils
Selenium utils + markdown rendering tests
2018-03-28 12:01:11 +02:00
Thomas Kluyver
7266fd53b0 Remove unused variant of append for now 2018-03-28 11:13:13 +02:00
Thomas Kluyver
a6f604a540 No need for copy 2018-03-28 11:08:20 +02:00
Thomas Kluyver
c23ba2a87f Docstrings and naming clarity 2018-03-28 11:07:30 +02:00
M Pacer
515f8e22dc nicer error and use append directly do not iterate over cells 2018-03-27 09:21:15 -07:00
hkshesht
5677e22f59 Initial commit to convert deletecell.js to selenium 2018-03-24 16:04:34 -04:00
M Pacer
74af79c89d Improve docstrings & comments; Remove unused code; Relocate script 2018-03-23 12:18:15 -07:00
M Pacer
79603b496f add quick_notebook utility and give docstring reminder to quit browsers 2018-03-23 12:18:15 -07:00
M Pacer
3c4596bfdf Take into account lab as a potential endpoint for the driver 2018-03-23 12:18:15 -07:00
M Pacer
d598ef517f switch fstring to format string 2018-03-23 12:18:15 -07:00
M Pacer
c081af5690 add other markdown string conversion examples for test 2018-03-23 12:18:15 -07:00
M Pacer
7808a89fd3 make append actually append to the end of cell list 2018-03-23 11:23:32 -07:00
M Pacer
0999798949 use new utilities, enable more markdown cells to be added easily 2018-03-23 11:05:15 -07:00
M Pacer
33ca649b0b add get_rendered_contents helper function 2018-03-23 11:04:25 -07:00
M Pacer
d9dd5d8f1c add run_all method 2018-03-23 11:04:02 -07:00
M Pacer
5e43458d7d add append, extend & coerce_to_cell methods 2018-03-23 11:03:32 -07:00
M Pacer
98c09f8fd0 use index method to get cell index in execute_cell 2018-03-23 11:02:43 -07:00
M Pacer
02e0ac38a4 fix add_cell logic, add content param, edit_cell default not render 2018-03-23 11:01:57 -07:00
M Pacer
bf4868dfc4 remove wait_for_selector call inside self.cells property 2018-03-23 10:58:58 -07:00
M Pacer
e9971a97aa simplify __getitem__ __setitem__ to handle only ints/slices and ints
also adds todo to add slice support back to __setitem__
2018-03-23 10:58:36 -07:00
M Pacer
c16dac22ca use new rich container __*__ methods to make adding & executing nicer 2018-03-23 08:33:47 -07:00
M Pacer
e183fc1627 enrich signature for execute_cell to accept both index and cell directly 2018-03-23 08:33:41 -07:00
Thomas Kluyver
dc1eeab2f3
Merge pull request #3412 from mpacer/update_selenium_tests
Update selenium tests
2018-03-23 08:08:18 +00:00
M Pacer
3571f1604f introduce cell __iter__, & __setitem__/__getitem__ for cells & indices
__getitem__ also accepts slices
also introduces __len__
2018-03-22 19:40:16 -07:00
M Pacer
5d19785e87 small changes to naming things 2018-03-22 19:34:45 -07:00
M Pacer
ebef7bae4c create new_notebook classmethod creating/switching to new Notebook page 2018-03-22 17:46:06 -07:00
M Pacer
a112ab6d2a add select_kernel function for clicking "new" & selecting a kernel 2018-03-22 17:44:56 -07:00
M Pacer
d634f1d0a1 add new_window contextmanager for creating, switching, & waiting on new page 2018-03-22 17:42:37 -07:00
M Pacer
3615d4af7c enhance wait_for_selector to handle returning single elements 2018-03-22 17:40:24 -07:00
M Pacer
3092800a46 add wait_for_selector to the cells property and to_command_mode 2018-03-22 17:36:16 -07:00
M Pacer
c220215aa8 use wait_for_selector from utils module in test_dashboard_nav 2018-03-22 17:36:16 -07:00
M Pacer
e0ed2c475f make authenticated browser module scope fixture for permission reasons 2018-03-22 17:34:02 -07:00