Thomas Kluyver
c4c49b71ea
Wait for 'New' dropdown button to be clickable for Selenium tests
8 years ago
Thomas Kluyver
2941158ec7
Merge branch 'master' into test_empty_arrows
8 years ago
arovitn
b22994eb47
renamed the ids, removed the replace_all parameter and changed the name of the testcase as mentioned in the comments
8 years ago
arovitn
33c1dea080
add 'ids' to the form_and_replace form and address other review comments
8 years ago
arovitn
0afa1e5855
Modified to use list comprehension, added '()' for to_command_mode, added assert to check presence of cell and remove 'return True' from remove_cells
8 years ago
arovitn
6fc09088ed
[WIP 838: Writing test for 'Find and replace' in selected cell apply on all cells]
8 years ago
arovitn
70ce8fac33
forgot adding .perform() for ActionChain
8 years ago
arovitn
031c90b933
1. Converting 'empty_arrows_keys.js' into selenium based test
...
2. Moved "delete_cell" method to utils.py and modified references to use it from there
3. added a generalized method "trigger_keystrokes" to send keystrokes to browser
8 years ago
sheshtawy
c4adc5266f
Update utils.py to resolve merge conflict
8 years ago
arovitn
5b0bc68e77
[WIP] [3335] Converting prompt_numbers.js test to selenium
8 years ago
sheshtawy
8daa5f51b4
Add a couple of utility functions to help get a single cell's content and type
8 years ago
sheshtawy
bdfdd24c7e
Move some utility functions from the test module to the utils.py module
8 years ago
Thomas Kluyver
40e996956a
Finish making Selenium undelete test
8 years ago
Thomas Kluyver
08072107ae
Start writing undelete test in Selenium
8 years ago
Thomas Kluyver
7266fd53b0
Remove unused variant of append for now
8 years ago
Thomas Kluyver
a6f604a540
No need for copy
8 years ago
Thomas Kluyver
c23ba2a87f
Docstrings and naming clarity
8 years ago
M Pacer
74af79c89d
Improve docstrings & comments; Remove unused code; Relocate script
8 years ago
M Pacer
7808a89fd3
make append actually append to the end of cell list
8 years ago
M Pacer
d9dd5d8f1c
add run_all method
8 years ago
M Pacer
5e43458d7d
add append, extend & coerce_to_cell methods
8 years ago
M Pacer
98c09f8fd0
use index method to get cell index in execute_cell
8 years ago
M Pacer
02e0ac38a4
fix add_cell logic, add content param, edit_cell default not render
8 years ago
M Pacer
bf4868dfc4
remove wait_for_selector call inside self.cells property
8 years ago
M Pacer
e9971a97aa
simplify __getitem__ __setitem__ to handle only ints/slices and ints
...
also adds todo to add slice support back to __setitem__
8 years ago
M Pacer
e183fc1627
enrich signature for execute_cell to accept both index and cell directly
8 years ago
M Pacer
3571f1604f
introduce cell __iter__, & __setitem__/__getitem__ for cells & indices
...
__getitem__ also accepts slices
also introduces __len__
8 years ago
M Pacer
5d19785e87
small changes to naming things
8 years ago
M Pacer
ebef7bae4c
create new_notebook classmethod creating/switching to new Notebook page
8 years ago
M Pacer
a112ab6d2a
add select_kernel function for clicking "new" & selecting a kernel
8 years ago
M Pacer
d634f1d0a1
add new_window contextmanager for creating, switching, & waiting on new page
8 years ago
M Pacer
3615d4af7c
enhance wait_for_selector to handle returning single elements
8 years ago
M Pacer
3092800a46
add wait_for_selector to the cells property and to_command_mode
8 years ago
M Pacer
e2243d6f60
add method that allows you to close the notebook without confirming
8 years ago
M Pacer
2b7f549498
Add add_cell and add_markdown_cell methods
8 years ago
M Pacer
4b6a0a7c44
Add CellTypeError and convert_cell_type and wait_for_stale_cell methods
8 years ago
M Pacer
3d3086e98a
add edit_cell and execute_cell methods; remove focus_cell edit parameter
8 years ago
M Pacer
c9a850492d
add body property
8 years ago
M Pacer
f9dd7c16e7
add basic cell functionality to Notebook class
8 years ago
M Pacer
0994db204a
Introduce Notebook class and give usage example in quick_selenium
8 years ago
M Pacer
9d4cf94d28
add utils module and wait_for_selector
8 years ago