vatlab / sos-notebook

Multi-language Jupyter Notebook
http://vatlab.github.io/SoS
BSD 3-Clause "New" or "Revised" License
177 stars 17 forks source link

Test on side panel #212

Closed BoPeng closed 5 years ago

BoPeng commented 5 years ago

The side panel has been redesigned so the original test does not work.

@jma7 Could you fix function shift_console_kernel and then the test on side panel? I suspect that my attempt to locate panel cell is also incorrect.

Note that the side panel now has multiple cells and the original code catches the first cell that shows the initial message, which does not have a selector, thus the error. We will need to identify the prompt input cell with class anchor-cell.

BoPeng commented 5 years ago

@jma7 The test has been moved to test_frontend.py.

The other problem is that the the tests pass locally (with the two problems commented out) but not on travis. I suppose that I need to update docker image but does not know how to do it. Please advise.