Open-source IoT Platform - Device management, data collection, processing and visualization.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Seraphym-Tuhai 7174778ff2 fix ui tests after menu update 3 years ago
..
src/test fix ui tests after menu update 3 years ago
README.md add new instructions for run ui tests 3 years ago
pom.xml add screenshot after test 3 years ago

README.md

Black box tests execution

To run the black box tests with using Docker, the local Docker images of Thingsboard's microservices should be built.

  • Build the local Docker images in the directory with the Thingsboard's main pom.xml:

      mvn clean install -Ddockerfile.skip=false
    
  • Verify that the new local images were built:

      docker image ls
    

As result, in REPOSITORY column, next images should be present:

    thingsboard/tb-coap-transport
    thingsboard/tb-lwm2m-transport
    thingsboard/tb-http-transport
    thingsboard/tb-mqtt-transport
    thingsboard/tb-snmp-transport
    thingsboard/tb-node
    thingsboard/tb-web-ui
    thingsboard/tb-js-executor
  • Run the black box tests (without ui tests) in the msa/black-box-tests directory with Redis standalone:

      mvn clean install -DblackBoxTests.skip=false
    
  • Run the black box tests in the msa/black-box-tests directory with Redis cluster:

      mvn clean install -DblackBoxTests.skip=false -DblackBoxTests.redisCluster=true
    
  • Run the black box tests in the msa/black-box-tests directory in Hybrid mode (postgres + cassandra):

      mvn clean install -DblackBoxTests.skip=false -DblackBoxTests.hybridMode=true
    
  • To run the black box tests with using local env run tests in the msa/black-box-tests directory with runLocal property:

      mvn clean install -DblackBoxTests.skip=false -DrunLocal=true
    
  • To run only ui tests in the msa/black-box-tests directory:

      mvn clean install -DblackBoxTests.skip=false -Dsuite=uiTests
    
  • To run only ui smoke rule chains tests in the msa/black-box-tests directory:

      mvn clean install -DblackBoxTests.skip=false -Dsuite=smokesRuleChain
    
  • To run only ui smoke customers tests in the msa/black-box-tests directory:

      mvn clean install -DblackBoxTests.skip=false -Dsuite=smokesCustomer
    
  • To run only ui smoke profiles tests in the msa/black-box-tests directory:

      mvn clean install -DblackBoxTests.skip=false -Dsuite=smokesPrifiles
    
  • To run all tests (black-box and ui) in the msa/black-box-tests directory:

      mvn clean install -DblackBoxTests.skip=false -Dsuite=all