opened
sakaia
username_0
The frontend uses PhantomJS. [frontend/Dockerfile](https://github.com/kubeflow/pipelines/blob/master/frontend/Dockerfile)
Regrettably, the PhantomJS will stop development.[Archiving the project: suspending the development #15344](https://github.com/ariya/phantomjs/issues/15344)
Of course, kubernetes/pipelines used the PhantomJS in build time only.
[update dockerfile and add build step of frontend #567](https://github.com/kubeflow/pipelines/pull/567)

Is there any plan to move from PhantomJS?
If so, which package you will plan to use?
[Question] PhantomJS
issue
created
rmgogogo
username_1
@username_2
comment
created
Bobgy
username_2
Thanks @username_0 for raising the question.

I took this opportunity to investigate a little. Here's what I found:
* We used to use backstopjs for visual regression testing (which used phantomjs internally, but no longer now): https://github.com/kubeflow/pipelines/blob/master/frontend/backstop.ts
* But somehow after main maintainer for kfp frontend changed a few times, we simply don't know or use it any more.

Backstop js itself has removed phantomjs support in a later release: https://github.com/garris/BackstopJS/issues/772#issuecomment-456057756

We have a few options:
1. Restore backstop js tests
2. Just delete them

So far, I don't feel we have a strong need for visual regression testing, so I will go with deletion to simplify maintenance.
comment
created
Bobgy
username_2
And FYI, for UI integration testing, we are using selenium (I'm thinking about replacing it with cypress later, but not now).
comment
created
Bobgy
username_2
Sent above PR to remove backstop js, and thus also dependency of phantom js.
comment