Skip to content
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

Closed
wants to merge 10 commits into from
Closed

Adding Browser-based tests #9

wants to merge 10 commits into from

Conversation

kmader
Copy link
Collaborator

@kmader kmader commented Sep 7, 2018

adding casper-based browser tests (based on the gist from @ellisonbg https://gist.github.com/ellisonbg/3329929)

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
@betatim
Copy link
Contributor

betatim commented Sep 17, 2018

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.

@kmader
Copy link
Collaborator Author

kmader commented Sep 17, 2018

Any examples of repos using Robot with Travis?
Do we just pip install, add the robot kernel, and then nbconver a robot notebook?

@betatim
Copy link
Contributor

betatim commented Sep 17, 2018

Good question. I will dig around a bit.

@datakurre
Copy link

@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.

@bollwyvl
Copy link

geckodriver must be downloaded into path separately

If you're on the conda bus, you still have to install firefox and chrome yourself, but...

... 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.

@kmader
Copy link
Collaborator Author

kmader commented Sep 24, 2018

@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.

@kmader kmader closed this Sep 24, 2018
@kmader kmader deleted the casper-browser-tests branch September 24, 2018 09:44
@kmader kmader mentioned this pull request Sep 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants