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

End to end testing #6

Closed
jtpio opened this issue Mar 28, 2021 · 4 comments · Fixed by #414
Closed

End to end testing #6

jtpio opened this issue Mar 28, 2021 · 4 comments · Fixed by #414
Projects

Comments

@jtpio
Copy link
Member

jtpio commented Mar 28, 2021

There should be some end to end testing, ideally with galata: https://github.com/jupyterlab/galata

@bollwyvl
Copy link
Collaborator

bollwyvl commented Jul 5, 2021

Welp, over on ipydrawio, I'm up to a mostly working site, and could turn the knob to put this under robotframework testing. I'm half inclined to:

  • start testing in robot on that PR
  • refactor those into another robotframework-jupyterlibrary client

Further, over on we're starting to think about how to get a "RoboLite" running once #171 has relaxed some limitations... robots-from-jupyter/robotkernel#72.

@bollwyvl
Copy link
Collaborator

bollwyvl commented Jul 6, 2021

I've got some very basic, not super-indicative robot tests running ipydrawio. The site looks pretty good.

@datakurre
Copy link

FYI. We did get "RoboLite running" (robots-from-jupyter/robotkernel#72). Some rough edges left, but looking good. https://robolite.readthedocs.io/en/latest/_static/retro/notebooks/?path=robolite%20-%20smoketest.ipynb

@bollwyvl
Copy link
Collaborator

bollwyvl commented Aug 7, 2021

Thanks for sharing @datakurre! It's certainly on me for not having proposed a robot complement to #258, but it's great to see robot represented in the lite space.

I think the potential for in-browser automation/test execution is a very interesting use case, and worth exploring. The other aspect, of demonstrating the wrapping of our pyodide kernel for other language runtimes, is also important for finding the places where we need to improve the extensibility at the typescript and python levels.

As pertains to this issue: provided a change didn't break itself hard enough to prevent starting, we could use the environment to test itself (in a second, managed tab), one of the properties we had in e.g. robotlab. Sure, we'd have to re-implement the non-trivial API surface of one of the browser/REST API keyword libraries, and there would be some things we just couldn't do with JS, by design, but these challenges seem surmountable.

More broadly: a web site/application under development (aren't they all, though?) could copy some files for a dev deployment and co-deploy a lite site, which would give devs/testers/power users the ability to create automation tools "inside the house." without individuals (or even IT) having to deploy complex automation infrastructure, fake/real browsers etc.

@jtpio jtpio mentioned this issue Nov 8, 2021
6 tasks
MVP automation moved this from To do to Done Nov 15, 2021
@jtpio jtpio unpinned this issue Nov 23, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
MVP
Done
Development

Successfully merging a pull request may close this issue.

3 participants