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
849b7def18
Convert dualmode_markdown to selenium
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
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
Thomas Kluyver
bc3a8cbe79
Convert test for saving with complex name to Selenium
7 years ago
Thomas Kluyver
e00a86c4cb
Throw clearer error if no new window handles found
7 years ago
Thomas Kluyver
605dfb8b15
Convert multiselect test to Selenium
7 years ago
Thomas Kluyver
4b2e7dc3e3
Merge pull request #4193 from askerry/selenium_buffering
...
Migrate buffering test to selenium
8 years ago
Amy Skerry
8b704d6628
Address review feedback
...
- consolidate into single .append call
- change function name to be clear we are waiting
8 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
8 years ago
Amy Skerry
f995db42ee
Address review feedback
...
- fix indentation
- remove unneccesary try/except
- fix visibility logic
8 years ago
Amy Skerry
3faafc4122
Migrate buffering test to selenium
...
As per issue #3335 , we want all js tests migrated to selenium. This change migrates the test of buffered execution requests.
Test Plan:
py.test -v notebook/tests/selenium/test_buffering.py
8 years ago
Amy Skerry
6f73d79376
Add custom expectation to wait for n elements
8 years ago
Amy Skerry
dea186d177
Add wait_for_tag to avoid race condition in display isolation test
...
Attempts to fix flakiness in `test_display_isolation`. We now ensure the iframe has been added to the dom before calling the selector. To make this work, we clean up the iframe cells (and all other cells) at the end of each test. I'm not 100% positive this fixes, since I haven't been able to reproduce the failure. But the hope is that this fixes the intermittent failing seen in https://github.com/jupyter/notebook/pull/4182 .
8 years ago
Andres Sanchez
f27e87541d
Changed function name in utils.py and in test_merge_cells.py
8 years ago
Thomas Kluyver
c9378c71fe
Merge pull request #4146 from askerry/selenium_display_isolation
...
Migrate display isolation test to selenium
8 years ago
Thomas Kluyver
099383e012
Merge pull request #4141 from askerry/selenium_display_image
...
Migrate image display test to selenium
8 years ago
Amy Skerry
a5a6e4ad08
Address review feedback
...
- remove sleep hack cruft
- consolidate/remove unncessary intermediate variables
8 years ago
Amy Skerry
3ccc4ed207
Address review feedback
...
- use %r instead of %s to handle quoting more succintly
- add a finally block to ensure browser state is transitioned from iframe back to default content
8 years ago
Andres Sanchez
fd6ea8e556
Removed unnecessary property attibute created in utils.py and added comments to test_merge_cells.py
8 years ago
Andres Sanchez
1c87821dc1
Modifications to test JS funcion in test_merge_cells.py
8 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
8 years ago
Amy Skerry
34cd3528d5
Migrate test for merge cells api to selenium
...
Migrates the test for merging cells to use selenium as suggested in issue #3335 .
Test Plan:
py.test -v notebook/tests/selenium/test_merge_cells.py
8 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
8 years ago
Thomas Kluyver
c4c49b71ea
Wait for 'New' dropdown button to be clickable for Selenium tests
8 years ago
Thomas Kluyver
5766341360
Merge pull request #3289 from Madhu94/add-save-as-menu-option
...
Add save as menu option
8 years ago
Grant Nestor
2ca3684003
Update selenium tests
8 years ago
Thomas Kluyver
2941158ec7
Merge branch 'master' into test_empty_arrows
8 years ago
arovitn
dcb45b2b34
modified the deletion logic as per the comments and setting the readonly cell to false
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
66b257bf3b
removing test_empty_arrows_keys.py and moving the delete_cell test into test_deletecell.py
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
madhu94
eab1e709eb
Add basic selenium test case
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