altair-viz/jupyterlab_voyager

Add Integration Testing

Closed this issue · 3 comments

We should add some integration testing to verify that this extension works properly. They should run in (at least one) real browser and verify the existing behavior.

It would be nice to be able to run them in CI and also locally with (and without?) Docker. I have had good luck with pytest + pytest selenium, but that would add a Python dependency for developing this project. Not a problem with Docker, but without makes it a bit more troublesome.

I have never used Cypress, but it is appealing because it doesn't use the selenium/wedbriver stack (which I have often found to be unreliable), but built more directly on specific browser automation engines.

I think I will try that out, because it is an all-in-one solution and doesn't require Python.

I am trying to get Cypress running in Docker, so that I can have it and chrome in a separate container from our dependencies, but it doesn't seem to work with their prebuilt container.

Resolved that problem.