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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clean up examples and add puppeteer tests #6340
Conversation
Thanks for making a pull request to JupyterLab! To try out this branch on binder, follow this link: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks @blink1073, just one optional nit.
scripts/travis_script.sh
Outdated
sleep 5 | ||
kill $TASK_PID | ||
wait $TASK_PID | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we popd
here? Doesn't matter much right now since it's at the end, but could in the future.
I took a pass at the other services tests and ran into a couple of issues:
|
Thanks for the testing! I'll dig into those other ones as well. |
45154f7
to
fbfabb3
Compare
@ian-r-rose, the xrsf issue arose if you ran that script from a different directory, now fixed. I went ahead and added automated testing for all 10 examples 馃槃 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for cleaning up! I just wanted to highlight that some docstrings in developer helper scripts would be nice (as noted in line comments below). I was mainly thinking along the lines "this is a helper script, it is meant to be called <by X>
<when Y>
<with Z arguments>
, and this is mainly what it does". Anything to help someone who opens the file "out of context" can get a feel for which other files are relevant for the control flow in question :)
Good call, docstrings added. |
LGTM! |
outputArea.future = kernel.requestExecute({ code }); | ||
document.getElementById('outputarea').appendChild(outputArea.node); | ||
await outputArea.future.done; | ||
console.log('Test complete!'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this @blink1073 :). Really helps me jump back into programming with @jupyterlab tools with the new changes :).
Thank you!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No problem @SimonBiggs, nice to e-see you again!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
:). Also, this does remind me, I do have quite a bit else to thank you for. I learnt so much off of all the work you've done here. For example I have used what I learnt about Lerna here to implement a Python monorepo https://github.com/pymedphys/pymedphys/tree/master/packages. I couldn't have done it without your example, so thank you :).
I also got the ideas of dependency graphing off of you guys:
https://pymedphys.com/developer/dependencies.html
And many, many other things. So, thank you. :) Thanks @blink1073 :).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
My pleasure. One day we'll meet and you can buy me a beer. ;)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that, is a good plan :)
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related discussion. |
References
Fixes #5819
Code changes
Update example tsconfig and webpack. Cleans up all of the examples to be browser-testable and adds test for all 10 examples.
User-facing changes
All of the examples now build and run without error 馃槃
Backwards-incompatible changes
NA