Skip to content

Latest commit

 

History

History
 
 

tests

Tests

Overview

This project contains UI acceptance tests for Kyma.

Run all tests

If you do not have the dependencies installed through Lerna, use the npm install command to install them.

To run all acceptance tests from the local cluster, use the following command:

npm run test:cluster

To run all acceptance tests from http://console-dev.kyma.local:4200, use the following command:

npm run test

NOTE: In the second case, take note of which GraphQL API endpoint you use.

Run specific tests

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 for core view
  • catalog-ui-test for service-catalog and instances views
  • docs-ui-test for content view
  • lambda-ui-test for lambda view