-
Notifications
You must be signed in to change notification settings - Fork 2
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
Adding Browser-based tests #9
Conversation
adding casper-based browser tests (based on the gist from @ellisonbg https://gist.github.com/ellisonbg/3329929)
adding basic testing script
adding a casper tests
adding casper to binder
changing phantomjs/casper installation
updating dependencies
adding test commands
fixing travis to build notebooks and browser separately
run jupyter in background
fixing js
Should we try and finish this off or close/take a new approach? This is the robot framework I was talking about that others use to do UI based testing. |
Any examples of repos using Robot with Travis? |
Good question. I will dig around a bit. |
@betatim FYI. I've now made a release of robotkernel and for me it seems that nbconvert should work. Note that if you use headless Firefox, geckodriver must be downloaded into path separately. |
If you're on the conda bus, you still have to install ... are all conda-forged. Here are some examples of testing Jupyter(Lab) with robot: I keep meaning to capture all of these in a library, but continue to eat the copy-pasta. |
@datakurre @bollwyvl thanks for the links, they look like a great start. I will close this PR and make a new one since my code here is not a great start. I might come back to you if it all blows up but it seems straightforward enough. |
adding casper-based browser tests (based on the gist from @ellisonbg https://gist.github.com/ellisonbg/3329929)