Changes between Version 10 and Version 11 of CameraControllerspec


Ignore:
Timestamp:
04/25/2020 08:20:03 PM (6 years ago)
Author:
tanmay
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • CameraControllerspec

    v10 v11  
    3636Selecting "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. 
    3737 
    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)'.  
     38Select 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)'. 
    3939 
    4040The 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'. 
    4141 
    4242Select 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 
     46Verify images get updated according to traffic flow (when VDS colors change). 
     47 
     48=== Configuration === #Configuration 
     49These 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 
     54In a terminal window with `webapps` as the current directory, start the web server with the (Python 2.7) command: `python -m CGIHTTPServer 8080` 
     55 
     56Open a web browser to `localhost:8080/einotebook/` 
     57 
     58Select 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 
     60The 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 
     62Now 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'.