User Tools

Site Tools


devops:tests:protractor

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
devops:tests:protractor [2020/10/08 10:22] – [Example test] skipidardevops: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 >+</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.
  
-<sxh bash>+<sxh shell>
 if [ $# -eq 0 ] if [ $# -eq 0 ]
   then   then
Line 69: Line 69:
 if [ $1 == 'stage' ] if [ $1 == 'stage' ]
 then then
-    export FLOOR_SOURCE=2uPwyjC2z1Jx16EzvQ_xZO+    export APIURL=my.api.com
     export SPACE_NAME="1.001"     export SPACE_NAME="1.001"
-    export SPACE_SOURCE=03fjvA5B1CWOG33uprLUQT+    export BUILDINGIDB=03fjvA5B1CWOG33uprLUQT
     export SPACE_ISPARTOF=b5c703a7-627d-4562-ba2c-6399557c670d     export SPACE_ISPARTOF=b5c703a7-627d-4562-ba2c-6399557c670d
     export DEVICE_NAME="Sensor_block:T&LQ:1138260"     export DEVICE_NAME="Sensor_block:T&LQ:1138260"
Line 85: Line 85:
 elif [ $1 == 'dev' ] elif [ $1 == 'dev' ]
 then then
 +    export APIURL=my.api.com
     export FLOOR_NAME=1OG     export FLOOR_NAME=1OG
     export SPACE_NAME="1.001"     export SPACE_NAME="1.001"
-    export SPACE_SOURCE=03fjvA5B1CWOG33uprLUQT+    export BUILDINGIDB=03fjvA5B1CWOG33uprLUQT
     export SPACE_ISPARTOF=6bfed7de-ccbc-4780-b834-5d8cbf73560f     export SPACE_ISPARTOF=6bfed7de-ccbc-4780-b834-5d8cbf73560f
     export DEVICE_NAME="Sensor_block:T&LQ:1138260"     export DEVICE_NAME="Sensor_block:T&LQ:1138260"
Line 119: Line 120:
 protractor test_config.js --suite $TARGETAWSACCOUNT protractor test_config.js --suite $TARGETAWSACCOUNT
 ##protractor test_config.js ##protractor test_config.js
 +
 </sxh> </sxh>
  
Line 141: Line 143:
     },     },
     params: {     params: {
 +        apiUrl: process.env.APIURL,
 +        buildingIdB: process.env.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:
  
 }); });
 +
  
 </sxh> </sxh>
devops/tests/protractor.1602152574.txt.gz · Last modified: (external edit)