pipelines/test/frontend-integration-test
Joe Li 59db2835fa
fix(frontend): Parameter field is missing when creating run from run list (#9335)
* Redirect to v2 new run after selecting v2 pipeline when creating run

* Add a tab in FE-integration test

* Add tab to the failed tests

* Add query keys back to NewRunSwitcher
2023-05-05 21:40:52 +00:00
..
selenium-standalone-chrome-gcloud-nodejs.Docker test: Update frontend-integration-test image (#9028) 2023-03-23 00:29:20 +00:00
.dockerignore Initial commit of the kubeflow/pipeline project. 2018-11-02 14:02:31 -07:00
Dockerfile test: Update frontend-integration-test image (#9028) 2023-03-23 00:29:20 +00:00
OWNERS Remove yebrahim from approvers/reviewers (#1787) 2019-08-09 12:22:52 -07:00
README.md feat(backend): Refactor apiserver, add Pipeline and other v2beta services (#8633) 2023-02-03 20:17:01 +00:00
helloworld.spec.js fix(frontend): Parameter field is missing when creating run from run list (#9335) 2023-05-05 21:40:52 +00:00
helloworld.yaml Assigned copyright to the project authors (#5587) 2021-05-05 13:53:22 +08:00
package-lock.json test(frontend): upgrade frontend integration test dependencies and base image. (#8806) 2023-02-07 01:24:39 +00:00
package.json test(frontend): upgrade frontend integration test dependencies and base image. (#8806) 2023-02-07 01:24:39 +00:00
run_test.sh fix(test): Add frontend integration test manual run (#8767) 2023-01-31 06:49:30 +00:00
tensorboard-example.spec.js Assigned copyright to the project authors (#5587) 2021-05-05 13:53:22 +08:00
tensorboard-example.yaml Assigned copyright to the project authors (#5587) 2021-05-05 13:53:22 +08:00
wdio.conf.js test(frontend): upgrade frontend integration test dependencies and base image. (#8806) 2023-02-07 01:24:39 +00:00

README.md

Frontend integration test

This test gets triggered by the end-to-end testing workflows.

Local run

  1. Deploy KFP on a k8s cluster and enable port forwarding. Replace the default namespace kubeflow below if needed.

    POD=`kubectl get pods -n kubeflow -l app=ml-pipeline-ui -o jsonpath='{.items[0].metadata.name}'`
    kubectl port-forward -n kubeflow ${POD} 3000:3000 &
    
  2. Build the container with the tests:

    docker build . -t kfp-frontend-integration-test:local
    
  3. Run the test with enabled networking (this exposes your local networking stack to the testing container):

    docker run --net=host kfp-frontend-integration-test:local --remote-run true
    
  4. Once completed, you can kill the background process of port-forwarding:

    ps aux | grep '[k]ubectl port-forward'
    kill <PID>