-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix create_comm in ThebeManager #311
Conversation
@narrator0 and I just added a Jest test testing bqplot's pan/zoom button. |
Do other tests load a binder like this one? I worry that too much time is required to run the tests with that. But if others are doing that, I guess it is fine. |
The read-only test that was added does load binder but I believe it only checks whether a specific tag exists. This test requires actually running the code block and testing whether the pan/zoom button will work without any error. |
Maybe wait on #282 to be merged in first |
@moorepants to your comment, plan is to soon have the test runner fire up a local jupyter server around the tests automatically making that connection fast. My plan was to do that once #282 is merged (or i'll extend that PR if it stays unmerged) as #282 has changes to the test layout it would be good to have that in first as @Miniland1333 suggests. |
@celine168 Can you update this to work with #282? |
bc3beb7
to
0ad7a9e
Compare
Just moved the files to the |
@stevejpurves @Miniland1333 Just checking, is it proper to move this test to the |
We just reviewed this in our meeting and feel it is good to go. Merging. |
The tests were fine here but seem to be failing on master... |
I'm seeing:
|
Would this happen because binder takes too long to load? |
I opened #329 to revert, which I may do. |
I reverted the changes. I think we need to think more carefully about trying to run a binder in a js test. It isn't going to be reliable. As I mentioned before, we need to test if the kernel attribute is present as expected, not check if bqplot runs properly. We can do that manually with the example in the docs. |
Can we reopen the original PR / branch?. I think we should bring up the local test Jupyter server that was discussed, in order to reliably to connect to in this type of test. You can assign that one to me. |
I apologize for suggesting merging this PR so early, especially considering the binder session in the jest test! I have reopened the PR at #330! |
Intends to fix #302
In this
_create_comm
,this.kernel
returns undefined as the variable is never set. I set the variable inregisterWithKernel
. I also could not find the functionconnectToComm
in the KernelConnection class.HTML page used to test: