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
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
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
Luis Rodriguez
3cdc418799
Add alt command, gets, and validate_notebook_state
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
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
Thomas Kluyver
e00a86c4cb
Throw clearer error if no new window handles found
7 years ago
Thomas Kluyver
6d7b6af514
Merge pull request #4182 from AndresSan6/merge_selected_cells
...
Add test for JS function "merge_selected_cells" in test_merge_cells.py
7 years ago
Amy Skerry
f995db42ee
Address review feedback
...
- fix indentation
- remove unneccesary try/except
- fix visibility logic
7 years ago
Amy Skerry
6f73d79376
Add custom expectation to wait for n elements
7 years ago
Andres Sanchez
f27e87541d
Changed function name in utils.py and in test_merge_cells.py
7 years ago
Thomas Kluyver
c9378c71fe
Merge pull request #4146 from askerry/selenium_display_isolation
...
Migrate display isolation test to selenium
7 years ago
Andres Sanchez
fd6ea8e556
Removed unnecessary property attibute created in utils.py and added comments to test_merge_cells.py
7 years ago
Andres Sanchez
1c87821dc1
Modifications to test JS funcion in test_merge_cells.py
7 years ago
Amy Skerry
aa658d3d79
Migrate display isolation test to selenium
...
As per issue #3335 , we want all js tests migrated to selenium. This change migrates and extends the svg isolation test (extended to include slightly more thorough validation of expected isolation behavior).
Test Plan:
py.test -v notebook/tests/selenium/test_display_isolation.py
7 years ago
Amy Skerry
03478bee87
Migrate image display test to selenium
...
Migrates a single js test (testing image display functionality) to selenium as per issue #3335 .
Test Plan:
py.test -v notebook/tests/selenium/test_display_image.py
7 years ago
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