add one more step in README.md

This commit is contained in:
Seraphym-Tuhai 2023-01-11 13:24:30 +02:00
parent 5eebe2e6ff
commit 166c543faf
2 changed files with 2 additions and 1 deletions

View File

@ -43,7 +43,8 @@ As result, in REPOSITORY column, next images should be present:
mvn clean install -DblackBoxTests.skip=false -Dsuite=all mvn clean install -DblackBoxTests.skip=false -Dsuite=all
### To run a separate test manually on a built UI: ### To run a separate test manually on a built UI:
1. Add the black-box-tests module in the [pom.xml](../pom.xml) 1. Add the black-box-tests module in the [pom.xml](../pom.xml) or add as a Maven project as in the picture
![addAsMavenProject.png](../black-box-tests/src/test/resources/addAsMavenProject.png)
2. Add Vm Option "-DrunLocal=true -Dtb.baseUiUrl=http://localhost:4200/" in Run -> Edit Configuration -> Edit Configuration Templates -> TestNG 2. Add Vm Option "-DrunLocal=true -Dtb.baseUiUrl=http://localhost:4200/" in Run -> Edit Configuration -> Edit Configuration Templates -> TestNG
3. Go to the test class you need in the [UI tests directory](../black-box-tests/src/test/java/org/thingsboard/server/msa/ui/tests) and run the test in it 3. Go to the test class you need in the [UI tests directory](../black-box-tests/src/test/java/org/thingsboard/server/msa/ui/tests) and run the test in it
or go to the [resources](../black-box-tests/src/test/resources) and run test suite you need or go to the [resources](../black-box-tests/src/test/resources) and run test suite you need

Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB