mirror of
https://github.com/jupyter/notebook.git
synced 2024-12-27 04:20:22 +08:00
Modified 'scrolling enabled' test assert
This commit is contained in:
parent
3f2fff21b0
commit
8749a5db99
@ -36,7 +36,7 @@ def test_multiselect_toggle(notebook):
|
||||
notebook.browser.execute_script("Jupyter.notebook.toggle_cells_outputs_scroll();")
|
||||
cell_scrolled_states = notebook.browser.execute_script(
|
||||
"return Jupyter.notebook.get_cells().map(c => c.output_area.scroll_state)")
|
||||
assert cell_scrolled_states, "ensure that all have scrolling enabled"
|
||||
assert all(cell_scrolled_states), "ensure that all have scrolling enabled"
|
||||
|
||||
# Test that cells, which start off not cleared are cleared after
|
||||
# calling the multiselected scroll toggle.
|
||||
|
Loading…
Reference in New Issue
Block a user