devops:tests:protractor
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| devops:tests:protractor [2020/10/08 10:22] – [Example test] skipidar | devops:tests:protractor [2023/11/01 07:15] (current) – ↷ Page moved from camunda:devops:tests:protractor to devops:tests:protractor skipidar | ||
|---|---|---|---|
| Line 50: | Line 50: | ||
| } | } | ||
| - | </sxh > | + | </ |
| Line 59: | Line 59: | ||
| config files and then may be used in the tests. | config files and then may be used in the tests. | ||
| - | < | + | < |
| if [ $# -eq 0 ] | if [ $# -eq 0 ] | ||
| then | then | ||
| Line 69: | Line 69: | ||
| if [ $1 == ' | if [ $1 == ' | ||
| then | then | ||
| - | export | + | export |
| export SPACE_NAME=" | export SPACE_NAME=" | ||
| - | export | + | export |
| export SPACE_ISPARTOF=b5c703a7-627d-4562-ba2c-6399557c670d | export SPACE_ISPARTOF=b5c703a7-627d-4562-ba2c-6399557c670d | ||
| export DEVICE_NAME=" | export DEVICE_NAME=" | ||
| Line 85: | Line 85: | ||
| elif [ $1 == ' | elif [ $1 == ' | ||
| then | then | ||
| + | export APIURL=my.api.com | ||
| export FLOOR_NAME=1OG | export FLOOR_NAME=1OG | ||
| export SPACE_NAME=" | export SPACE_NAME=" | ||
| - | export | + | export |
| export SPACE_ISPARTOF=6bfed7de-ccbc-4780-b834-5d8cbf73560f | export SPACE_ISPARTOF=6bfed7de-ccbc-4780-b834-5d8cbf73560f | ||
| export DEVICE_NAME=" | export DEVICE_NAME=" | ||
| Line 119: | Line 120: | ||
| protractor test_config.js --suite $TARGETAWSACCOUNT | protractor test_config.js --suite $TARGETAWSACCOUNT | ||
| ## | ## | ||
| + | |||
| </ | </ | ||
| Line 141: | Line 143: | ||
| }, | }, | ||
| params: { | params: { | ||
| + | apiUrl: process.env.APIURL, | ||
| + | buildingIdB: | ||
| floorName: process.env.FLOOR_NAME, | floorName: process.env.FLOOR_NAME, | ||
| spaceName: process.env.SPACE_NAME, | spaceName: process.env.SPACE_NAME, | ||
| Line 1062: | Line 1066: | ||
| }); | }); | ||
| + | |||
| </ | </ | ||
devops/tests/protractor.1602152574.txt.gz · Last modified: (external edit)
