Skip to content
Update Testing Guide authored by Julian Rausch's avatar Julian Rausch
...@@ -67,6 +67,8 @@ For starting Cypress Tests a cypress.env.json file is needed. This file should c ...@@ -67,6 +67,8 @@ For starting Cypress Tests a cypress.env.json file is needed. This file should c
To define an individual baseUrl use the following command: To define an individual baseUrl use the following command:
```export CYPRESS_BASE_URL=https://localhost:8080``` ```export CYPRESS_BASE_URL=https://localhost:8080```
Before running cypress tests create an empty otp instance, then run the scripts ```initialize/demoImports/CreateExampleData.groovy``` and ```initialize/demoImports/CreateExampleWorkflowData.groovy```.
All Cypress tests can be run with ```./gradlew runCypressTests``` All Cypress tests can be run with ```./gradlew runCypressTests```
For Individual testing and to use the gui run the command ```./gradlew runCypressTestsInWindow``` For Individual testing and to use the gui run the command ```./gradlew runCypressTestsInWindow```
... ...
......