Changes between Version 10 and Version 11 of CameraControllerspec
- Timestamp:
- 04/25/2020 08:20:03 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CameraControllerspec
v10 v11 36 36 Selecting "Choose Route" reveals a drop-down with 5 22 55 57 73 91 133 241 261 405 605 as the options. Selecting "Choose Camera" however reveals no options. 37 37 38 Select route "005" from the "Choose Route" drop-down of the first box (on the top-left). By default the first option from the camera drop-down will be selected - 'SB 5 N/O MAGNOLIA AVE (S/O 91)'. 38 Select route "005" from the "Choose Route" drop-down of the first box (on the top-left). By default the first option from the camera drop-down will be selected - 'SB 5 N/O MAGNOLIA AVE (S/O 91)'. 39 39 40 40 The corresponding CCTV camera image should load. To verify, right click on the image and inspect it too see the src containing '12-005-CCTV-0001-day-freeflow.jpg'. 41 41 42 42 Select route "022" from the "Choose Route" drop-down of the second box (on the top-right). By default the first option from the camera drop-down will be selected - 'EB 22 7TH ST'. Since there is no such image in the `cptms/images/CCTV `directory, a 'Video Unavailable' image is displayed. 43 44 == Test Case 2 == #TestCase1 45 === Purpose === #Purpose 46 Verify images get updated according to traffic flow (when VDS colors change). 47 48 === Configuration === #Configuration 49 These tests assume` cptms/data_layers/cctv_locations_D12.gson, ``cptms/images/CCTV `and 50 51 `dynamicdata/highway_status.json `are the data sources. 52 53 === Application Startup === #ApplicationStartup 54 In a terminal window with `webapps` as the current directory, start the web server with the (Python 2.7) command: `python -m CGIHTTPServer 8080` 55 56 Open a web browser to `localhost:8080/einotebook/` 57 58 Select route "005" from the "Choose Route" drop-down of the first box (on the top-left). By default the first option from the camera drop-down will be selected - 'SB 5 N/O MAGNOLIA AVE (S/O 91)'. 59 60 The corresponding CCTV camera image should load. To verify, right click on the image and inspect it too see the src containing '12-005-CCTV-0001-day-freeflow.jpg'. 61 62 Now open highway_status.json file and find the feature containing the id "5 S 43.01" and change the color property from 'lime' to 'yellow'.
