test ipywidgets' Widget on travis: trick to make it work?

16 views
Skip to first unread message

Hai Nguyen

unread,
Jul 16, 2016, 2:40:58 PM7/16/16
to jup...@googlegroups.com
Hi all,

I am trying to use nightwatch to open and run the notebooks on travis. The notebooks run ok but seems to me that there is no communication between Javascript and Python.

However, When I tested nightwatch on my laptop and the notebooks run perfectly. Do you have 
any idea how to make the notebook work on travis with Widget?

Below is the summary of my workflow on travis

- install Chrome and chromedriver + (do a bunch of related stuff so we can open the notebook)

- install nightwatch

- Open jupyter: jupyter notebook --port=8889 --browser=google-chrome --ip=127.0.0.1 &

- run nightwatch (it will execute some of our javascript scripts to open and run the notebook)

A typical output on travis look like this:

all the assertion related to sending message between Python and Javascript failed.

I really appreciate if anyone can tell me how or point me to the link I can read.

Let me know if I need to provide any further information.

cheer
Hai
Reply all
Reply to author
Forward
0 new messages