notebooks/components/crud-web-apps/volumes/frontend
Tariq Hasan 4451765b12 chore: update node in crud-web-apps from 12 to 16 (kubeflow/kubeflow#7637)
* upgrade node from 12 to 16

Signed-off-by: tariq-hasan <mmtariquehsn@gmail.com>

* replace cypress with playwright for e2e tests in jupyter

Signed-off-by: tariq-hasan <mmtariquehsn@gmail.com>

* update base image for node

Signed-off-by: tariq-hasan <mmtariquehsn@gmail.com>

* update build scripts for tensorboard

Signed-off-by: tariq-hasan <mmtariquehsn@gmail.com>

* update build scripts for jupyter

Signed-off-by: tariq-hasan <mmtariquehsn@gmail.com>

---------

Signed-off-by: tariq-hasan <mmtariquehsn@gmail.com>
2024-11-26 17:15:52 +00:00
..
cypress jwa: Improve how JWA exposes errors (kubeflow/kubeflow#6952) 2023-03-23 15:23:22 +00:00
i18n fix(web-apps): Use Angular's i18n proposed implementation (kubeflow/kubeflow#6065) 2021-08-12 05:13:03 -07:00
scripts Add CI format checks for the Volumes web app (kubeflow/kubeflow#5820) 2021-05-17 08:25:31 -07:00
src chore: update node in crud-web-apps from 12 to 16 (kubeflow/kubeflow#7637) 2024-11-26 17:15:52 +00:00
.browserslistrc Update CRUD web apps from Angular 8 to Angular 12 (kubeflow/kubeflow#6004) 2021-07-21 02:35:50 -07:00
.editorconfig Volumes Management UI (kubeflow/kubeflow#5684) 2021-03-18 01:07:16 -07:00
.eslintrc.json vwa(front): Handle query parameters and add unit tests (kubeflow/kubeflow#6835) 2022-12-15 11:51:21 +00:00
.gitignore vwa: Remove all the Rok references (kubeflow/kubeflow#6984) 2023-03-06 10:22:35 +00:00
.prettierrc Volumes Management UI (kubeflow/kubeflow#5684) 2021-03-18 01:07:16 -07:00
OWNERS chore: cleanup inactive owners (kubeflow/kubeflow#7402) 2024-01-24 18:47:53 +00:00
README.md vwa(front): Add UI tests with Cypress (kubeflow/kubeflow#6862) 2023-01-03 13:11:24 +00:00
angular.json chore: update node in crud-web-apps from 12 to 16 (kubeflow/kubeflow#7637) 2024-11-26 17:15:52 +00:00
cypress.config.ts vwa(front): Add UI tests with Cypress (kubeflow/kubeflow#6862) 2023-01-03 13:11:24 +00:00
karma.conf.js vwa(front): Add YAML tab to Volume details page (kubeflow/kubeflow#6823) 2022-12-09 10:43:11 +00:00
package-lock.json chore: update node in crud-web-apps from 12 to 16 (kubeflow/kubeflow#7637) 2024-11-26 17:15:52 +00:00
package.json chore: update node in crud-web-apps from 12 to 16 (kubeflow/kubeflow#7637) 2024-11-26 17:15:52 +00:00
tsconfig.app.json Update CRUD web apps from Angular 8 to Angular 12 (kubeflow/kubeflow#6004) 2021-07-21 02:35:50 -07:00
tsconfig.json chore: update node in crud-web-apps from 12 to 16 (kubeflow/kubeflow#7637) 2024-11-26 17:15:52 +00:00
tsconfig.spec.json Volumes Management UI (kubeflow/kubeflow#5684) 2021-03-18 01:07:16 -07:00

README.md

Frontend

This project was generated with Angular CLI version 8.3.20.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running UI tests

To run UI tests locally, make sure that node modules are installed and the frontend is serving the UI under localhost:4200. Then use npm run ui-test to execute the UI tests via Cypress. This will open Cypress and from there you may select the browser in which the tests will run.

Ideally, tests should be run both in Chrome and Firefox and for that there is the script npm run ui-test-ci-all that runs (instead of opening) Cypress. Note that in order for tests to run in a browser, the browser needs to be already installed on the system.

Make sure to check out these guides for system-specific information on installing and running Cypress

WSL2

In order to be run in a WSL2 installation, Cypress requires these dependencies.

In the case of WSL2 on Windows 10, this extra setup is required in order to have an X Server running in Windows host and creating the browser window.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI documents.