UI is used as federated module in app-services ui project that aggretates various service components.
NOTE: This repository is used as part of the console.redhat.com
npm install
npm run startThis will start the standalone app on https://prod.foo.redhat.com:1337/.
- make sure you have
127.0.0.1 prod.foo.redhat.comin your hosts file for this to work. - you can also change the backend (fleet-manager) that the app will point to in the
.envfile.
npm install
npm run start:federateThis will run a dev server on http://localhost:9002 that will serve a federated module named cos.
In one terminal run the application in E2E mode:
npm run start:e2eIn a second terminal run Cypress in the interactive mode
npm run cypress:openor if you want to run the tests against an headless Chrome
npm run cypressIf you are contributing please check out the Contributing Guidelines.