This project contains UI acceptance tests for Kyma.
To run the catalog-ui-test
, you need to install Kyma with the testing
bundle included. For more information about including the testing
bundle, read this document.
To install dependencies, run the npm install
command.
Learn how to run all tests or specific ones.
NOTE: You need a valid
kubeconfig
issued for a user with admin rights for the cluster. On local deployments, the appropriatekubeconfig
file is set automatically during Minikube setup. For cluster deployments, you must obtain thekubeconfig
file manually.
To run all acceptance tests inside a container in the cluster, use this command:
npm run test:cluster
To run all acceptance tests outside the cluster, use this command:
npm run test:cluster-outside
To run all acceptance tests during development against http://console-dev.kyma.local:4200
, use this command:
npm run test
NOTE: In the second case, take note of which GraphQL API endpoint you use.
By default, the commands from the Run all tests section allow you to run all available tests. To run only the selected ones, change the value of the testRegex
field in the package.json
file. These are the available tests to run:
console-basic-test
forcore
viewcatalog-ui-test
forservice-catalog
andinstances
viewsdocs-ui-test
forcontent
viewlambda-ui-test
forlambda
viewlogging-test
forlogging
view